summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMark Corbin <mark.corbin@embecosm.com>2018-09-12 11:22:53 +0100
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-09-23 22:17:57 +0200
commitbd0640a2139119e2fdb4b384ebf32d1edcb0fdaa (patch)
treefa749570d2cab3be1ac74bcc9b35a534846a6821 /Makefile
parent1eca624c03e5e1f815e0e62cbfc3b99f3cd628b3 (diff)
downloadbuildroot-bd0640a2139119e2fdb4b384ebf32d1edcb0fdaa.tar.gz
buildroot-bd0640a2139119e2fdb4b384ebf32d1edcb0fdaa.zip
arch: allow GCC target options to be optionally overwritten
The BR2_GCC_TARGET_* configuration variables are copied to corresponding GCC_TARGET_* variables which may then be optionally modified or overwritten by architecture specific makefiles. All makefiles must use the new GCC_TARGET_* variables instead of the BR2_GCC_TARGET_* versions. Signed-off-by: Mark Corbin <mark.corbin@embecosm.com> [Thomas: simplify include of arch/arch.mk] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 18afa36b28..600b5245f0 100644
--- a/Makefile
+++ b/Makefile
@@ -493,9 +493,9 @@ include Makefile.legacy
include system/system.mk
include package/Makefile.in
-# arch/arch.mk.* must be after package/Makefile.in because it may need to
+# arch/arch.mk must be after package/Makefile.in because it may need to
# complement variables defined therein, like BR_NO_CHECK_HASH_FOR.
--include $(sort $(wildcard arch/arch.mk.*))
+include arch/arch.mk
include support/dependencies/dependencies.mk
include $(sort $(wildcard toolchain/*.mk))
OpenPOWER on IntegriCloud