summaryrefslogtreecommitdiffstats
path: root/utils/sbtools/Makefile
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2011-10-29 17:09:43 +0000
committerAmaury Pouly <pamaury@rockbox.org>2011-10-29 17:09:43 +0000
commit853fd04ba4968220dc187aeabc994792e20b30c4 (patch)
tree3c14f28d2693e9ce8e806232b1566d64163951ed /utils/sbtools/Makefile
parente90f961593e92fa5d98efa67b569e7efe5f4fbe0 (diff)
downloadrockbox-853fd04ba4968220dc187aeabc994792e20b30c4.tar.gz
rockbox-853fd04ba4968220dc187aeabc994792e20b30c4.tar.bz2
rockbox-853fd04ba4968220dc187aeabc994792e20b30c4.zip
sbtools: fix compilation when linker expects correctly ordered files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30854 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/sbtools/Makefile')
-rw-r--r--utils/sbtools/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/sbtools/Makefile b/utils/sbtools/Makefile
index e4db3bf335..69e63c9ac2 100644
--- a/utils/sbtools/Makefile
+++ b/utils/sbtools/Makefile
@@ -10,10 +10,10 @@ all: elftosb sbtoelf
$(CC) $(CFLAGS) -c -o $@ $<
sbtoelf: sbtoelf.o crc.o crypto.o aes128.o sha1.o elf.o misc.o sb.o
- $(LD) $(LDFLAGS) -o $@ $^
+ $(LD) -o $@ $^ $(LDFLAGS)
elftosb: elftosb.o crc.o crypto.o aes128.o sha1.o elf.o dbparser.o misc.o sb.o
- $(LD) $(LDFLAGS) -o $@ $^
+ $(LD) -o $@ $^ $(LDFLAGS)
clean:
rm -fr *.o