diff options
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 $@ |