[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen stable-4.4] xen: Install arch-arm directory headers



commit 99860894b3b310d01935417a3f2ea4dc1f838936
Author:     Julien Grall <julien.grall@xxxxxxxxxx>
AuthorDate: Tue Jul 8 18:04:48 2014 +0100
Commit:     Ian Campbell <ian.campbell@xxxxxxxxxx>
CommitDate: Wed Jul 23 09:50:26 2014 +0100

    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 <julien.grall@xxxxxxxxxx>
    Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
    (cherry picked from commit f224b60791b539df66c1fe89d7866170653428b6)
---
 tools/include/Makefile |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/tools/include/Makefile b/tools/include/Makefile
index 9ed41f1..f7a6256 100644
--- a/tools/include/Makefile
+++ b/tools/include/Makefile
@@ -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
--
generated by git-patchbot for /home/xen/git/xen.git#stable-4.4

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.