From 5b4acfeba13c1cf008cdebf7213d90724a227399 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Fri, 2 Dec 2016 23:56:06 -0800 Subject: [PATCH] Prune .install and ..install.cmd files from kernel headers --- litecross/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/litecross/Makefile b/litecross/Makefile index d3c065a..e1b8349 100644 --- a/litecross/Makefile +++ b/litecross/Makefile @@ -205,6 +205,7 @@ src_kernel_headers: | $(LINUX_SRCDIR) obj_kernel_headers/.lc_built: | src_kernel_headers mkdir -p $(PWD)/obj_kernel_headers/staged cd src_kernel_headers && $(MAKE) ARCH=$(LINUX_ARCH) O=$(PWD)/obj_kernel_headers INSTALL_HDR_PATH=$(PWD)/obj_kernel_headers/staged headers_install + find obj_kernel_headers/staged/include '(' -name .install -o -name ..install.cmd ')' -exec rm {} + touch $@ install-kernel-headers: | obj_kernel_headers/.lc_built mkdir -p $(DESTDIR)$(OUTPUT)$(SYSROOT)/include