# HG changeset patch # User Daniel O'Connor # Date 1366031266 -34200 # Node ID 3f1c101f89bc9a19365cd60244e3683e074d8619 # Parent 3c22b02e9bf3c677ed43bb72dbc0f03c52aba145 Tell make the resulting binary dependent is dependent on the linker script. diff -r 3c22b02e9bf3 -r 3f1c101f89bc BSDmakefile.arm --- a/BSDmakefile.arm Mon Apr 15 21:33:06 2013 +0930 +++ b/BSDmakefile.arm Mon Apr 15 22:37:46 2013 +0930 @@ -31,7 +31,7 @@ .s.o: ${AS} ${CFLAGS} ${ASFLAGS} -c ${.IMPSRC} -o ${.PREFIX}.o -${PROG}.elf: ${OBJS} +${PROG}.elf: ${OBJS} ${LINKFILE} ${CC} ${LDFLAGS} ${OBJS} -Wl,-Map=${PROG}.map,--cref -o ${PROG}.elf ${LDADD} .elf.bin: