summaryrefslogtreecommitdiff
path: root/tools/updater/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/updater/Makefile')
-rw-r--r--tools/updater/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/updater/Makefile b/tools/updater/Makefile
index a8fb4ced3d2..21b11ca4098 100644
--- a/tools/updater/Makefile
+++ b/tools/updater/Makefile
@@ -29,9 +29,9 @@ PROG = updater
IMAGE = updater.image
SRC = update.c flash.c flash_hw.c utils.c cmd_flash.c string.c ctype.c dummy.c
ASRC = ppcstring.S
-OBJS = $(SRC:.c=.o) $(ASRC:.S=.o)
+OBJS = $(SRC:.c=.o) $(ASRC:.S=.o)
-LIB = $(TOPDIR)/examples/libsyscall.a
+LIB = $(TOPDIR)/examples/libsyscall.a
LIBAOBJS= $(TOPDIR)/examples/syscall.o
LIBCOBJS=
LIBOBJS = $(LIBAOBJS) $(LIBCOBJS)
@@ -50,14 +50,14 @@ $(LIB): .depend $(LIBOBJS)
$(OBJCOPY) -O srec $(<:.o=) $@
%.o: %.c
- $(CC) $(CPPFLAGS) -c $<
+ $(CC) $(CPPFLAGS) -c $<
%.o: %.S
$(CC) $(CPPFLAGS) -c $<
#########################################################################
-updater: $(OBJS) $(LIB) $(TOPDIR)/board/MAI/AmigaOneG3SE/memio.o
+updater: $(OBJS) $(LIB) $(TOPDIR)/board/MAI/AmigaOneG3SE/memio.o
$(LD) -g -Ttext $(LOAD_ADDR) -o updater -e _main $(OBJS) $(LIB) \
$(TOPDIR)/board/MAI/AmigaOneG3SE/memio.o
$(OBJCOPY) -O binary updater updater.bin