Преглед изворни кода

Make target stuff last so it can override everything else

Eric Andersen пре 20 година
родитељ
комит
79f5f1e867
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      Makefile

+ 3 - 1
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))