xen: Install arch-arm directory headers
PATCH 1/1 xen: Install arch-arm directory headers
Some headers for ARM are not installed on the host. This may make external software relying on Xen headers failed to compile on ARM.
Signed-off-by Julien Grall <[email protected]>
---
This patch is candidate to be backported on Xen 4.4
--- tools/include/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
tools/include/Makefile +8 -1
@@ -13,7 +13,7 @@ xen/.dir: mkdir -p xen/libelf ln -sf $(XEN_ROOT)/xen/include/public/COPYING xen ln -sf $(wildcard $(XEN_ROOT)/xen/include/public/*.h) xen - ln -sf $(addprefix $(XEN_ROOT)/xen/include/public/,arch-x86 hvm io xsm) xen + ln -sf $(addprefix $(XEN_ROOT)/xen/include/public/,arch-x86 arch-arm hvm io xsm) xen ln -sf ../xen-sys/$(XEN_OS) xen/sys ln -sf $(addprefix $(XEN_ROOT)/xen/include/xen/,libelf.h elfstructs.h) xen/libelf/ ln -s ../xen-foreign xen/foreign
@@ -23,6 +23,8 @@ xen/.dir: install: all $(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR)/xen/arch-x86 $(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR)/xen/arch-x86/hvm + $(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR)/xen/arch-arm + $(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR)/xen/arch-arm/hvm $(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR)/xen/foreign $(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR)/xen/hvm $(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR)/xen/io
@@ -32,6 +34,11 @@ install: all $(INSTALL_DATA) xen/*.h $(DESTDIR)$(INCLUDEDIR)/xen $(INSTALL_DATA) xen/arch-x86/*.h $(DESTDIR)$(INCLUDEDIR)/xen/arch-x86 $(INSTALL_DATA) xen/arch-x86/hvm/*.h $(DESTDIR)$(INCLUDEDIR)/xen/arch-x86/hvm + +# xen/arch-arm doesn't contains headers for now. Uncommented the line +# as soon as a new header is added +# $(INSTALL_DATA) xen/arch-arm/*.h $(DESTDIR)$(INCLUDEDIR)/xen/arch-arm + $(INSTALL_DATA) xen/arch-arm/hvm/*.h $(DESTDIR)$(INCLUDEDIR)/xen/arch-arm/hvm $(INSTALL_DATA) xen/foreign/*.h $(DESTDIR)$(INCLUDEDIR)/xen/foreign $(INSTALL_DATA) xen/hvm/*.h $(DESTDIR)$(INCLUDEDIR)/xen/hvm $(INSTALL_DATA) xen/io/*.h $(DESTDIR)$(INCLUDEDIR)/xen/io
Signature · 1 line
1.7.10.4
Quoted 4 lines · Julien Grall
Some headers for ARM are not installed on the host. This may make external software relying on Xen headers failed to compile on ARM.
Signed-off-by Julien Grall <[email protected]>
Acked-by Ian Campbell <[email protected]>
Ian Campbell
AppliedQuoted 7 lines · Ian Campbell
Quoted 4 lines · Julien Grall
Some headers for ARM are not installed on the host. This may make external software relying on Xen headers failed to compile on ARM.
Signed-off-by Julien Grall <[email protected]>Acked-by Ian Campbell <[email protected]>
applied, thanks.