summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Salveti <ricardo.salveti@linaro.org>2016-04-18 21:21:14 -0300
committerRicardo Salveti <ricardo.salveti@linaro.org>2016-04-18 21:24:25 -0300
commit4267ffbb12dad4e295c1357ce30b8b293fd04b5c (patch)
tree2c469484e59c87ab50f022e57c5e7d4db2e2a300
parenta53d8618c27fce442a107f16a8ecaeace1f33042 (diff)
downloaddebian-kernel-packaging-4267ffbb12dad4e295c1357ce30b8b293fd04b5c.tar.gz
[arm64] including missing headers
Including missing arm header references from the arm64 headers: asm/opcodes.h:#include <../../arm/include/asm/opcodes.h> asm/xen/hypervisor.h:#include <../../arm/include/asm/xen/hypervisor.h> asm/xen/page.h:#include <../../arm/include/asm/xen/page.h> asm/xen/page-coherent.h:#include <../../arm/include/asm/xen/page-coherent.h> asm/xen/hypercall.h:#include <../../arm/include/asm/xen/hypercall.h> asm/xen/interface.h:#include <../../arm/include/asm/xen/interface.h> Change-Id: I86c95260778f833447f27108ef3e3c0ce553e7d3 Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
-rw-r--r--debian/rules.real11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/rules.real b/debian/rules.real
index 403bfe0..2850e98 100644
--- a/debian/rules.real
+++ b/debian/rules.real
@@ -261,6 +261,17 @@ install-headers_$(ARCH)_$(FEATURESET): $(STAMPS_DIR)/source_$(FEATURESET)
) \
| \
cpio -pd --preserve-modification-time '$(CURDIR)/$(DIR)'
+# arm64 headers references arch/arm
+ifneq ($(filter arm64,$(ARCH)),)
+ set -o pipefail; \
+ cd $(SOURCE_DIR); \
+ ( \
+ find arch/arm/include -name 'opcodes.h' -print; \
+ find $$(find arch/arm/include -name xen -type d -print) -print; \
+ ) \
+ | \
+ cpio -pd --preserve-modification-time '$(CURDIR)/$(DIR)'
+endif
dh_link /usr/lib/$(PACKAGE_NAME_KBUILD)/scripts $(BASE_DIR)/scripts