aboutsummaryrefslogtreecommitdiff
path: root/toolchain/kernel-headers
diff options
context:
space:
mode:
authorGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-08-22 09:20:33 +0000
committerGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-08-22 09:20:33 +0000
commit26b4c3782b0d6b75e1dc4985a5714cf68566b0a8 (patch)
tree32f32819ebae145a48009d42b4ecff6845787513 /toolchain/kernel-headers
parent8909333ce02db980c06628f8075cf85d5d16b67b (diff)
downloadbuildroot-26b4c3782b0d6b75e1dc4985a5714cf68566b0a8.tar.gz
buildroot-26b4c3782b0d6b75e1dc4985a5714cf68566b0a8.tar.bz2
- use the correct host compiler
Diffstat (limited to 'toolchain/kernel-headers')
-rw-r--r--toolchain/kernel-headers/kernel-headers-new.makefile8
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 1a8a83fde8..e1cc429bdc 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 $@