summaryrefslogtreecommitdiff
path: root/target-rules.mk
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2011-01-25 02:47:15 +0100
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2011-01-25 02:47:15 +0100
commitf66483699517a8c8e1b12bf52518c84d77a252f9 (patch)
treeadf0da78d67ac1116cbe59f13baa46cd62cdc047 /target-rules.mk
parent5a597d99c4fa249ff2e097356ee709c3f9724640 (diff)
Adding copy of the mutable rom data into its position in ram, and fixing makefiles to have a proper dependency tree on the libraries.
Diffstat (limited to 'target-rules.mk')
-rw-r--r--target-rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-rules.mk b/target-rules.mk
index 29eee1f..1edcc7a 100644
--- a/target-rules.mk
+++ b/target-rules.mk
@@ -15,7 +15,7 @@ TARGET_MAP = $(addsuffix .map, $(basename $(TARGET)))
TARGET_OBJS += $(addsuffix .o, $(basename $(TARGET)))
endif
-$(TARGET_ELF): $(TARGET_OBJS)
+$(TARGET_ELF): $(TARGET_OBJS) $(LIBDEPS)
$(E) "[TL] Linking $@"
$(Q)$(TARGET_LD) -Wl,--gc-sections -Wl,-O3 -Wl,-Map=$(TARGET_MAP) -o $@ $^ -T$(LDSCRIPT) $(LIBS)