summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2019-08-17 19:40:46 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-09-02 16:06:19 +0200
commit88386e0ab5619452c8f7772b1e801b3e979e8b39 (patch)
tree2edc4204ba8efa68cf4b4e825d3dc15afdd7ea9d
parent2523edf5b4747d9aedf29373c3a62bcd9130d583 (diff)
downloadOSELAS.Toolchain-88386e0ab5619452c8f7772b1e801b3e979e8b39.tar.gz
kernel-headers: install to pkgdir
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/kernel-headers.make10
1 files changed, 5 insertions, 5 deletions
diff --git a/rules/kernel-headers.make b/rules/kernel-headers.make
index 7e642d6..5149066 100644
--- a/rules/kernel-headers.make
+++ b/rules/kernel-headers.make
@@ -83,12 +83,12 @@ $(STATEDIR)/kernel-headers.install:
ifdef PTXCONF_KERNEL_HEADERS_SANITIZED
@$(KERNEL_HEADERS_ENV) $(KERNEL_HEADERS_PATH) \
$(MAKE) -C $(KERNEL_HEADERS_DIR) $(KERNEL_HEADERS_MAKEVARS) \
- headers_install INSTALL_HDR_PATH=$(SYSROOT)/usr
+ headers_install INSTALL_HDR_PATH=$(KERNEL_HEADERS_PKGDIR)/usr
else
- mkdir -p $(SYSROOT)/usr/include/asm
- cp -r $(KERNEL_HEADERS_DIR)/include/linux $(SYSROOT)/usr/include
- cp -r $(KERNEL_HEADERS_DIR)/include/asm/* $(SYSROOT)/usr/include/asm
- cp -r $(KERNEL_HEADERS_DIR)/include/asm-generic $(SYSROOT)/usr/include
+ mkdir -p $(KERNEL_HEADERS_PKGDIR)/usr/include/asm
+ cp -r $(KERNEL_HEADERS_DIR)/include/linux $(KERNEL_HEADERS_PKGDIR)/usr/include
+ cp -r $(KERNEL_HEADERS_DIR)/include/asm/* $(KERNEL_HEADERS_PKGDIR)/usr/include/asm
+ cp -r $(KERNEL_HEADERS_DIR)/include/asm-generic $(KERNEL_HEADERS_PKGDIR)/usr/include
endif
@$(call touch)