Prune .install and ..install.cmd files from kernel headers

This commit is contained in:
Michael Forney 2016-12-02 23:56:06 -08:00
parent f00b09f654
commit 5b4acfeba1
1 changed files with 1 additions and 0 deletions

View File

@ -205,6 +205,7 @@ src_kernel_headers: | $(LINUX_SRCDIR)
obj_kernel_headers/.lc_built: | src_kernel_headers obj_kernel_headers/.lc_built: | src_kernel_headers
mkdir -p $(PWD)/obj_kernel_headers/staged 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 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 $@ touch $@
install-kernel-headers: | obj_kernel_headers/.lc_built install-kernel-headers: | obj_kernel_headers/.lc_built
mkdir -p $(DESTDIR)$(OUTPUT)$(SYSROOT)/include mkdir -p $(DESTDIR)$(OUTPUT)$(SYSROOT)/include