summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@gmx.at>2012-10-14 10:47:36 +0200
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-04-01 20:53:29 +0200
commit4ecbf2dfecea5224662aeb30981111885f9fba7d (patch)
tree4afc339c6a88be130166f99c9184081e2ef28849
parent601fb7947a3e0dc6c4b9acd672f3bca9ae14ee47 (diff)
Allow compilation without ccache
Change-Id: Ib10fb87635d8e3396a692d52ed3f0524a7860a9c Signed-off-by: Stefan Tauner <stefan.tauner@gmx.at> Reviewed-on: http://review.coreboot.org/2901 Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Tested-by: build bot (Jenkins)
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 8a77582..46d4657 100644
--- a/Makefile
+++ b/Makefile
@@ -50,13 +50,13 @@ release:
buildall:
@printf "\nBuild SerialICE's QEmu\n"
- @cd qemu-$(VERSION); ./configure --enable-serialice --target-list=i386-softmmu && $(MAKE) CC="ccache gcc" HOST_CC="ccache gcc"
+ @cd qemu-$(VERSION); ./configure --enable-serialice --target-list=i386-softmmu && $(MAKE) CC="$(CCACHE) gcc" HOST_CC="$(CCACHE) gcc"
@printf "\nBuild SerialICE target stubs\n"
@cd SerialICE; \
for board in `grep "^config *BOARD_" Kconfig |cut -d' ' -f2 |grep -v "^BOARD_INIT$$"`; do \
echo CONFIG_$$board=y > .config; \
- yes "" | $(MAKE) HOSTCC="ccache gcc" oldconfig && \
- $(MAKE) HOSTCC="ccache gcc" || exit 1; \
+ yes "" | $(MAKE) HOSTCC="$(CCACHE) gcc" oldconfig && \
+ $(MAKE) HOSTCC="$(CCACHE) gcc" || exit 1; \
mv build build-$$board; \
done