Prune .install and ..install.cmd files from kernel headers
This commit is contained in:
parent
e1e800262e
commit
00fa92c87b
|
@ -205,6 +205,7 @@ src_kernel_headers: | $(LINUX_SRCDIR)
|
|||
obj_kernel_headers/.lc_built: | src_kernel_headers
|
||||
mkdir -p $(CURDIR)/obj_kernel_headers/staged
|
||||
cd src_kernel_headers && $(MAKE) ARCH=$(LINUX_ARCH) O=$(CURDIR)/obj_kernel_headers INSTALL_HDR_PATH=$(CURDIR)/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
|
||||
|
|
Loading…
Reference in New Issue