summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2019-08-17 19:41:13 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-09-02 16:06:19 +0200
commit81a2c49caccb89a2c3b3447dacb2e16a8893d0f3 (patch)
treec4473ab438bce033dc469259fdbdcc3eddcbe89f
parent88386e0ab5619452c8f7772b1e801b3e979e8b39 (diff)
downloadOSELAS.Toolchain-81a2c49caccb89a2c3b3447dacb2e16a8893d0f3.tar.gz
kernel-headers: delete unnecessary files
These are created during 'headers_install' but not actually needed. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/kernel-headers.make2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/kernel-headers.make b/rules/kernel-headers.make
index 5149066..f809260 100644
--- a/rules/kernel-headers.make
+++ b/rules/kernel-headers.make
@@ -84,6 +84,8 @@ ifdef PTXCONF_KERNEL_HEADERS_SANITIZED
@$(KERNEL_HEADERS_ENV) $(KERNEL_HEADERS_PATH) \
$(MAKE) -C $(KERNEL_HEADERS_DIR) $(KERNEL_HEADERS_MAKEVARS) \
headers_install INSTALL_HDR_PATH=$(KERNEL_HEADERS_PKGDIR)/usr
+ @find $(KERNEL_HEADERS_PKGDIR) -type f \
+ \( -name .install -o -name ..install.cmd \) -delete
else
mkdir -p $(KERNEL_HEADERS_PKGDIR)/usr/include/asm
cp -r $(KERNEL_HEADERS_DIR)/include/linux $(KERNEL_HEADERS_PKGDIR)/usr/include