summaryrefslogtreecommitdiffstats
path: root/toolchain/kernel-headers/kernel-headers-new.makefile
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-12-13 18:24:48 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-12-13 18:24:48 +0000
commit3f684225a329ea2ab72e9cc66079278647e9df09 (patch)
tree44e2cba955df0cb0e843fa4df83822a058c5095b /toolchain/kernel-headers/kernel-headers-new.makefile
parent23fe556e15f7a92b0c1da107fe894221e8ce1b5d (diff)
downloadbuildroot-novena-3f684225a329ea2ab72e9cc66079278647e9df09.tar.gz
buildroot-novena-3f684225a329ea2ab72e9cc66079278647e9df09.zip
- pass the correct CC down to gcc-version.sh
Diffstat (limited to 'toolchain/kernel-headers/kernel-headers-new.makefile')
-rw-r--r--toolchain/kernel-headers/kernel-headers-new.makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/toolchain/kernel-headers/kernel-headers-new.makefile b/toolchain/kernel-headers/kernel-headers-new.makefile
index 25f61f925..c3eca5b72 100644
--- a/toolchain/kernel-headers/kernel-headers-new.makefile
+++ b/toolchain/kernel-headers/kernel-headers-new.makefile
@@ -34,7 +34,9 @@ $(LINUX_HEADERS_UNPACK_DIR)/.patched: $(LINUX_HEADERS_UNPACK_DIR)/.unpacked
$(LINUX_HEADERS_DIR)/.configured: $(LINUX_HEADERS_UNPACK_DIR)/.patched
(cd $(LINUX_HEADERS_UNPACK_DIR) ; \
- $(MAKE) ARCH=$(KERNEL_ARCH) INSTALL_HDR_PATH=$(LINUX_HEADERS_DIR) headers_install)
+ $(MAKE) ARCH=$(KERNEL_ARCH) CC="$(HOSTCC)" \
+ INSTALL_HDR_PATH=$(LINUX_HEADERS_DIR) headers_install ; \
+ )
touch $(LINUX_HEADERS_DIR)/.configured
endif