diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-08-22 09:20:33 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-08-22 09:20:33 +0000 |
commit | 26b4c3782b0d6b75e1dc4985a5714cf68566b0a8 (patch) | |
tree | 32f32819ebae145a48009d42b4ecff6845787513 /toolchain/kernel-headers | |
parent | 8909333ce02db980c06628f8075cf85d5d16b67b (diff) | |
download | buildroot-novena-26b4c3782b0d6b75e1dc4985a5714cf68566b0a8.tar.gz buildroot-novena-26b4c3782b0d6b75e1dc4985a5714cf68566b0a8.zip |
- use the correct host compiler
Diffstat (limited to 'toolchain/kernel-headers')
-rw-r--r-- | toolchain/kernel-headers/kernel-headers-new.makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/toolchain/kernel-headers/kernel-headers-new.makefile b/toolchain/kernel-headers/kernel-headers-new.makefile index 1a8a83fde..e1cc429bd 100644 --- a/toolchain/kernel-headers/kernel-headers-new.makefile +++ b/toolchain/kernel-headers/kernel-headers-new.makefile @@ -82,9 +82,11 @@ endif touch $@ $(LINUX_HEADERS_DIR)/.configured: $(LINUX_HEADERS_UNPACK_DIR)/.patched - (cd $(LINUX_HEADERS_UNPACK_DIR) ; \ - $(MAKE) ARCH=$(KERNEL_ARCH) CC="$(HOSTCC)" \ - INSTALL_HDR_PATH=$(LINUX_HEADERS_DIR) headers_install ; \ + (cd $(LINUX_HEADERS_UNPACK_DIR); \ + $(MAKE) ARCH=$(KERNEL_ARCH) \ + HOSTCC="$(HOSTCC)" HOSTCFLAGS="$(HOSTCFLAGS)" \ + HOSTCXX="$(HOSTCXX)" \ + INSTALL_HDR_PATH=$(LINUX_HEADERS_DIR) headers_install; \ ) touch $@ |