summaryrefslogtreecommitdiff
path: root/toolchain/linux-headers/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/linux-headers/Makefile')
-rw-r--r--toolchain/linux-headers/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/toolchain/linux-headers/Makefile b/toolchain/linux-headers/Makefile
index 6ed1a0d55..b2aed50ed 100644
--- a/toolchain/linux-headers/Makefile
+++ b/toolchain/linux-headers/Makefile
@@ -44,9 +44,7 @@ endif
touch $@
$(WRKBUILD)/.configured: $(TOOLCHAIN_BUILD_DIR)/w-$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)/linux-$(KERNEL_FILE_VER)/.patched
- $(KERNEL_MAKE_ENV) $(MAKE) -C "${LINUX_DIR}" $(KERNEL_MAKE_OPTS) \
- INSTALL_HDR_PATH=$(STAGING_TARGET_DIR)/usr \
- headers_install
+ ${KERNEL_MAKE} INSTALL_HDR_PATH=$(STAGING_TARGET_DIR)/usr headers_install
ifeq ($(ADK_TARGET_ARCH_CRIS),y)
ifeq ($(ADK_TARGET_CPU_ARCH),crisv32)
cd $(STAGING_TARGET_DIR)/usr/include && ln -sf arch-v32/arch arch