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>
This commit is contained in:
Patrick Georgi 2015-06-04 13:18:11 +02:00 committed by Stefan Reinauer
parent 31bf37eb32
commit 7b9762fe20
1 changed files with 2 additions and 2 deletions

View File

@ -38,8 +38,6 @@ $(if $(wildcard .xcompile),,$(eval $(shell util/xcompile/xcompile $(XGCCPATH) >
$< $(XGCCPATH) > $@.tmp $< $(XGCCPATH) > $@.tmp
\mv -f $@.tmp $@ 2> /dev/null \mv -f $@.tmp $@ 2> /dev/null
include .xcompile
export top := $(CURDIR) export top := $(CURDIR)
export src := src export src := src
export srck := $(top)/util/kconfig export srck := $(top)/util/kconfig
@ -122,6 +120,8 @@ else
include $(HAVE_DOTCONFIG) include $(HAVE_DOTCONFIG)
include .xcompile
ifeq ($(CONFIG_COMPILER_LLVM_CLANG),y) ifeq ($(CONFIG_COMPILER_LLVM_CLANG),y)
# FIXME: armv7/aarch64 won't build right now # FIXME: armv7/aarch64 won't build right now
# NOTE: clang puts compiler-rt under lib/linux/libclang_rt.builtins-i386.a # NOTE: clang puts compiler-rt under lib/linux/libclang_rt.builtins-i386.a