diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-07-09 18:23:20 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-07-09 18:23:20 +0000 |
commit | c0d7d4e0355b49b489d7235e945481cf5d32087f (patch) | |
tree | 1ac11d3a3d88092f300a1fb4f8e0e44ab73f9be7 /Makefile | |
parent | ead86bff6493f5a2be411a47862526f8d5488dfe (diff) | |
download | buildroot-novena-c0d7d4e0355b49b489d7235e945481cf5d32087f.tar.gz buildroot-novena-c0d7d4e0355b49b489d7235e945481cf5d32087f.zip |
- fix evaluation of HOSTCFLAGS for kconfig. Closes #1415
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -264,14 +264,17 @@ all: menuconfig # configuration # --------------------------------------------------------------------------- +HOSTCFLAGS=$(CFLAGS_FOR_BUILD) +export HOSTCFLAGS + $(CONFIG)/conf: - $(MAKE) CC="$(HOSTCC)" HOSTCFLAGS="$(CFLAGS_FOR_BUILD)" MAKECMDGOALS="$(MAKECMDGOALS)" \ + $(MAKE) CC="$(HOSTCC)" MAKECMDGOALS="$(MAKECMDGOALS)" \ -C $(CONFIG) conf -@if [ ! -f .config ] ; then \ cp $(CONFIG_DEFCONFIG) .config; \ fi $(CONFIG)/mconf: - $(MAKE) CC="$(HOSTCC)" HOSTCFLAGS="$(CFLAGS_FOR_BUILD)" MAKECMDGOALS="$(MAKECMDGOALS)" \ + $(MAKE) CC="$(HOSTCC)" MAKECMDGOALS="$(MAKECMDGOALS)" \ -C $(CONFIG) conf mconf -@if [ ! -f .config ] ; then \ cp $(CONFIG_DEFCONFIG) .config; \ |