diff --git a/debian/rules.real b/debian/rules.real index 586851936..4ce7908ac 100644 --- a/debian/rules.real +++ b/debian/rules.real @@ -235,7 +235,7 @@ install-headers_$(ARCH)_$(FEATURESET): $(STAMPS_DIR)/source_$(FEATURESET) ( \ echo Makefile; \ find arch/$(KERNEL_ARCH) -maxdepth 1 -name 'Makefile*' -print; \ - find arch/$(KERNEL_ARCH) -name 'module.lds' -o -name 'Kbuild.platforms' -print -o -name 'Platform' -print; \ + find arch/$(KERNEL_ARCH) \( -name 'module.lds' -o -name 'Kbuild.platforms' -o -name 'Platform' \) -print; \ find $$(find arch/$(KERNEL_ARCH) \( -name include -o -name scripts \) -type d -print) -print; \ find include -name 'asm*' -prune -o -print; \ find include/asm-generic -print; \