summaryrefslogtreecommitdiffstats
path: root/flash/bootbox
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-07-11 20:36:12 +0000
committerJens Arnold <amiconn@rockbox.org>2005-07-11 20:36:12 +0000
commit5d9f67d37c642a125805bdeb5c3cde006ab5a54b (patch)
treecd7697386681a921ed31cd22026a8efa570123b6 /flash/bootbox
parent9cce5c37273c36449fd3a0c518cfd7c00448daa4 (diff)
downloadrockbox-5d9f67d37c642a125805bdeb5c3cde006ab5a54b.tar.gz
rockbox-5d9f67d37c642a125805bdeb5c3cde006ab5a54b.tar.bz2
rockbox-5d9f67d37c642a125805bdeb5c3cde006ab5a54b.zip
Added missing dependencies.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7108 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'flash/bootbox')
-rw-r--r--flash/bootbox/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/flash/bootbox/Makefile b/flash/bootbox/Makefile
index 26de92fb57..276782053f 100644
--- a/flash/bootbox/Makefile
+++ b/flash/bootbox/Makefile
@@ -35,6 +35,8 @@ LINKFILE = $(OBJDIR)/linkage.lds
MAXINFILE = $(OBJDIR)/romstart.temp
MAXOUTFILE = $(OBJDIR)/romstart
+LIBROCKBOX = $(BUILDDIR)/librockbox.a
+
all: $(BUILDDIR)/$(BINARY) $(FLASHFILE)
dep: $(DEPFILE)
@@ -49,7 +51,7 @@ $(MAXOUTFILE):
@cat $(MAXINFILE) | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) -E -P $(ROMBUILD) - > $(MAXOUTFILE)
@rm $(MAXINFILE)
-$(OBJDIR)/bootbox.elf : $(OBJS) $(LINKFILE) $(DEPFILE)
+$(OBJDIR)/bootbox.elf : $(OBJS) $(LINKFILE) $(DEPFILE) $(LIBROCKBOX)
@echo "LD bootbox.elf"
$(CC) $(GCCOPTS) -Wl,--gc-sections -Os -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -L$(BUILDDIR)/firmware -lrockbox -lgcc -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/bootbox.map