Allow easy libpayload compilation using xcompile.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5465 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer
2010-04-20 17:19:20 +00:00
committed by Stefan Reinauer
parent 338150ed18
commit 97f546cf2d
2 changed files with 107 additions and 1 deletions

View File

@@ -49,7 +49,10 @@ ifneq ($(V),1)
Q := @
endif
CC = gcc
$(if $(wildcard .xcompile),,$(eval $(shell bash util/xcompile/xcompile > .xcompile)))
include .xcompile
CC ?= gcc
HOSTCC = gcc
HOSTCXX = g++
HOSTCFLAGS := -I$(srck) -I$(objk) -pipe