mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
separate installation of headers from the linux tree into a new guest-header
directory under tools. Signed-off-by: Vincent Hanquez <vincent@xensource.com>
This commit is contained in:
1 parent
1d36a78348
commit
8300a5a508
3 files changed
+12
-2
No files matched your search
@@ -77,8 +77,6 @@ install kernel_install:
|
||||
install -m0664 .config $(INSTALL_PATH)/boot/config-$(XINSTALL_NAME)$(INSTALL_SUFFIX)
|
||||
install -m0664 System.map $(INSTALL_PATH)/boot/System.map-$(XINSTALL_NAME)$(INSTALL_SUFFIX)
|
||||
ln -f -s vmlinuz-$(XINSTALL_NAME)$(INSTALL_SUFFIX) $(INSTALL_PATH)/boot/vmlinuz-$(VERSION).$(PATCHLEVEL)$(XENGUEST)$(INSTALL_SUFFIX)
|
||||
mkdir -p $(INSTALL_PATH)/usr/include/xen/linux
|
||||
install -m0644 $(srctree)/include/asm-xen/linux-public/*.h $(INSTALL_PATH)/usr/include/xen/linux
|
||||
|
||||
archclean:
|
||||
@if [ -e arch/xen/arch ]; then $(MAKE) $(clean)=arch/xen/arch; fi;
|
||||
|
||||
@@ -12,6 +12,7 @@ SUBDIRS += firmware
|
||||
SUBDIRS += security
|
||||
SUBDIRS += console
|
||||
SUBDIRS += xenmon
|
||||
SUBDIRS += guest-headers
|
||||
ifeq ($(VTPM_TOOLS),y)
|
||||
SUBDIRS += vtpm_manager
|
||||
SUBDIRS += vtpm
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
|
||||
XEN_ROOT=../..
|
||||
linuxsparsetree = $(XEN_ROOT)/linux-2.6-xen-sparse
|
||||
|
||||
check:
|
||||
|
||||
install:
|
||||
mkdir -p $(DESTDIR)/usr/include/xen/linux
|
||||
install -m0644 $(linuxsparsetree)/include/asm-xen/linux-public/*.h $(DESTDIR)/usr/include/xen/linux
|
||||
|
||||
clean:
|
||||