summaryrefslogtreecommitdiff
path: root/toolchain/kernel-headers
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-04-26 08:13:08 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-04-26 08:20:15 -0500
commit3f79a66f3fbe2c8d6b595c2dde6e36e06c1e19f0 (patch)
tree5f528d4b4644e4566e19ea4f1598ac4f7c873ada /toolchain/kernel-headers
parent9550f70e71928ee936170d11f4984a42b3e717f0 (diff)
remove -C $(LINUX_DIR) from OPTS variable
Otherwise toolchain only compiling of gcc is failing while trying to install header files.
Diffstat (limited to 'toolchain/kernel-headers')
-rw-r--r--toolchain/kernel-headers/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile
index c7c7eefef..1d206c4c1 100644
--- a/toolchain/kernel-headers/Makefile
+++ b/toolchain/kernel-headers/Makefile
@@ -40,8 +40,8 @@ endif
touch $@
$(WRKBUILD)/.headers: $(TOOLCHAIN_BUILD_DIR)/w-$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)/linux-$(KERNEL_VERSION)/.patched
- $(KERNEL_MAKE_ENV) $(MAKE) $(KERNEL_MAKE_OPTS) headers_check
- $(KERNEL_MAKE_ENV) $(MAKE) $(KERNEL_MAKE_OPTS) \
+ $(KERNEL_MAKE_ENV) $(MAKE) -C "${LINUX_DIR}" $(KERNEL_MAKE_OPTS) headers_check
+ $(KERNEL_MAKE_ENV) $(MAKE) -C "${LINUX_DIR}" $(KERNEL_MAKE_OPTS) \
INSTALL_HDR_PATH=$(STAGING_TARGET_DIR)/usr \
headers_install
ifeq ($(ADK_TARGET_ARCH_CRIS),y)