From b9160874be69ca4a08df3f19e2477d0b5fae4c52 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 29 Dec 2014 23:18:13 -0500 Subject: Compile with -static, set -m32 if in an i686 directory --- Makefile.d/modules/coreboot.mk | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Makefile.d/modules/coreboot.mk') diff --git a/Makefile.d/modules/coreboot.mk b/Makefile.d/modules/coreboot.mk index 1099039..0101d7a 100644 --- a/Makefile.d/modules/coreboot.mk +++ b/Makefile.d/modules/coreboot.mk @@ -41,21 +41,21 @@ tmp/builddeps-stamps/%/coreboot: \ # The 3 actual utility builddeps: tmp/builddeps-stamps/%/coreboot-cbfstool: src/%/coreboot/util/cbfstool - $(MAKE) -C $< + $(MAKE) CC='$(CC)' -C $< mkdir -p $(@D) touch $@ tmp/builddeps-stamps/%/coreboot-nvramtool: src/%/coreboot/util/nvramtool - $(MAKE) -C $< + $(MAKE) CC='$(CC)' -C $< mkdir -p $(@D) touch $@ tmp/builddeps-stamps/%/coreboot-crossgcc: src/%/coreboot/util/crossgcc - $(MAKE) -C src/$*/coreboot crossgcc-i386 + $(MAKE) CC='$(CC)' -C src/$*/coreboot crossgcc-i386 mkdir -p $(@D) touch $@ cleandeps-%/coreboot-custom: PHONY - test ! -f src/%/coreboot/Makefile || $(MAKE) -C src/%/coreboot clean - test ! -f src/%/coreboot/Makefile || $(MAKE) -C src/%/coreboot/util/cbfstool clean - test ! -f src/%/coreboot/Makefile || $(MAKE) -C src/%/coreboot/util/nvramtool clean - test ! -f src/%/coreboot/Makefile || $(MAKE) -C src/%/coreboot crossgcc-clean + test ! -f src/%/coreboot/Makefile || $(MAKE) CC='$(CC)' -C src/%/coreboot clean + test ! -f src/%/coreboot/Makefile || $(MAKE) CC='$(CC)' -C src/%/coreboot/util/cbfstool clean + test ! -f src/%/coreboot/Makefile || $(MAKE) CC='$(CC)' -C src/%/coreboot/util/nvramtool clean + test ! -f src/%/coreboot/Makefile || $(MAKE) CC='$(CC)' -C src/%/coreboot crossgcc-clean rm -f tmp/builddeps-stamps/%/coreboot-* -- cgit v1.2.3