summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2015-06-04 13:18:11 +0200
committerStefan Reinauer <stefan.reinauer@coreboot.org>2015-06-04 17:16:28 +0200
commit7b9762fe20c29b5bc7e2054913c0b323b759d123 (patch)
tree0933dcd45479b6366ecbafb2a58eb3baf3465ed2
parent31bf37eb32170bf69be845a1218438c12fe5bf75 (diff)
build system: Move .xcompile include further down
It's not used until then, but by moving it below including .config, we can use CONFIG_* in the .xcompile file in the future. Change-Id: I672f444dd28b5fae1fc339a1e0e78a249c9b7875 Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/10422 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <edward.ocallaghan@koparo.com>
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9d174e0804..b41057c56a 100644
--- a/Makefile
+++ b/Makefile
@@ -38,8 +38,6 @@ $(if $(wildcard .xcompile),,$(eval $(shell util/xcompile/xcompile $(XGCCPATH) >
$< $(XGCCPATH) > $@.tmp
\mv -f $@.tmp $@ 2> /dev/null
-include .xcompile
-
export top := $(CURDIR)
export src := src
export srck := $(top)/util/kconfig
@@ -122,6 +120,8 @@ else
include $(HAVE_DOTCONFIG)
+include .xcompile
+
ifeq ($(CONFIG_COMPILER_LLVM_CLANG),y)
# FIXME: armv7/aarch64 won't build right now
# NOTE: clang puts compiler-rt under lib/linux/libclang_rt.builtins-i386.a