aboutsummaryrefslogtreecommitdiffstats
path: root/tools/include/xen-foreign/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/include/xen-foreign/Makefile')
-rw-r--r--tools/include/xen-foreign/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/include/xen-foreign/Makefile b/tools/include/xen-foreign/Makefile
index 8b22b10960..cfaf790d45 100644
--- a/tools/include/xen-foreign/Makefile
+++ b/tools/include/xen-foreign/Makefile
@@ -3,7 +3,7 @@ include $(XEN_ROOT)/tools/Rules.mk
ROOT = $(XEN_ROOT)/xen/include/public
-architectures := x86_32 x86_64
+architectures := arm x86_32 x86_64
headers := $(patsubst %, %.h, $(architectures))
.PHONY: all clean check-headers
@@ -22,6 +22,9 @@ check-headers: checker
diff -u reference.size tmp.size
rm tmp.size
+arm.h: mkheader.py structs.py $(ROOT)/arch-arm.h
+ $(PYTHON) $< $* $@ $(filter %.h,$^)
+
x86_32.h: mkheader.py structs.py $(ROOT)/arch-x86/xen-x86_32.h $(ROOT)/arch-x86/xen.h $(ROOT)/xen.h
$(PYTHON) $< $* $@ $(filter %.h,$^)