From 7b9762fe20c29b5bc7e2054913c0b323b759d123 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Thu, 4 Jun 2015 13:18:11 +0200 Subject: 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 Reviewed-on: http://review.coreboot.org/10422 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3