diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-12-29 23:18:13 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-12-29 23:18:13 -0500 |
commit | b9160874be69ca4a08df3f19e2477d0b5fae4c52 (patch) | |
tree | 192a4a48bc5f0f5d613a10e8d81a1b329072438d /Makefile.d/modules/coreboot.mk | |
parent | 7d68a92e0b043f0fec0561e88aec68d1fe96c9cc (diff) |
Compile with -static, set -m32 if in an i686 directory
Diffstat (limited to 'Makefile.d/modules/coreboot.mk')
-rw-r--r-- | Makefile.d/modules/coreboot.mk | 14 |
1 files changed, 7 insertions, 7 deletions
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-* |