summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-02-17 03:00:29 +0000
committerEric Andersen <andersen@codepoet.org>2005-02-17 03:00:29 +0000
commit79f5f1e8678d2b8ee15ce37b4dbe770d2cadaf54 (patch)
tree2eaaa18aca7b4f7e4620d56b1ed7e68d8dc86a69
parent0cd5b3c5f81566ec88f749148ee9fd28827aa006 (diff)
Make target stuff last so it can override everything else
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index dbe5ee875..045aa19ef 100644
--- a/Makefile
+++ b/Makefile
@@ -52,7 +52,6 @@ ifeq ($(strip $(BR2_HAVE_DOT_CONFIG)),y)
TARGETS:=host-sed kernel-headers uclibc-configured binutils gcc uclibc-target-utils
include toolchain/Makefile.in
include package/Makefile.in
-include target/Makefile.in
#############################################################
#
@@ -75,6 +74,9 @@ include toolchain/*/*.mk
include package/*/*.mk
include target/*/*.mk
+# target stuff is last so it can override anything else
+include target/Makefile.in
+
TARGETS_CLEAN:=$(patsubst %,%-clean,$(TARGETS))
TARGETS_SOURCE:=$(patsubst %,%-source,$(TARGETS))
TARGETS_DIRCLEAN:=$(patsubst %,%-dirclean,$(TARGETS))