linux-headers: Exclude all .cmd files
These are not needed for building OOT modules and their contents may vary depending on whether /bin/sh is bash.
This commit is contained in:
parent
7231d9e75a
commit
28eab7aa6b
|
@ -24,6 +24,7 @@ linux (4.7.2-1) UNRELEASED; urgency=medium
|
|||
* usbip: Use the locally-installed <linux/usbip.h>
|
||||
* Exclude redundant and unreproducible files from binary packages
|
||||
- usbip: Put all autotools-generated files in the build directory
|
||||
- linux-headers: Exclude all .cmd files
|
||||
|
||||
[ Martin Michlmayr ]
|
||||
* [armhf] Enable MMC_SDHCI_IPROC and HW_RANDOM_BCM2835 for BCM2835.
|
||||
|
|
|
@ -299,6 +299,7 @@ install-headers_$(ARCH)_$(FEATURESET)_$(FLAVOUR): $(STAMPS_DIR)/build_$(ARCH)_$(
|
|||
cp -a $(SOURCE_DIR)/{.config,.kernel*,Module.symvers,include} $(DIR)
|
||||
cp -a $(SOURCE_DIR)/arch/$(KERNEL_ARCH)/include $(DIR)/arch/$(KERNEL_ARCH)
|
||||
cp -a $(SOURCE_DIR)/arch/$(KERNEL_ARCH)/kernel/asm-offsets.s $(DIR)/arch/$(KERNEL_ARCH)/kernel
|
||||
find $(DIR) -name '*.cmd' -delete
|
||||
|
||||
if [ -f $(SOURCE_DIR)/arch/$(KERNEL_ARCH)/lib/crtsavres.o ]; then \
|
||||
mkdir $(DIR)/arch/$(KERNEL_ARCH)/lib; \
|
||||
|
|
Loading…
Reference in New Issue