summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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))