WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] stubdom: Add root Makefile targets, disabled by defa

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] stubdom: Add root Makefile targets, disabled by default for now
From: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
Date: Wed, 9 Jul 2008 14:18:53 +0100
Delivery-date: Wed, 09 Jul 2008 06:19:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Mail-followup-to: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.12-2006-07-14
stubdom: Add root Makefile targets, disabled by default for now

Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>

diff -r 3f3510b35268 Makefile
--- a/Makefile  Thu Jul 03 10:57:51 2008 +0100
+++ b/Makefile  Wed Jul 09 14:18:04 2008 +0100
@@ -15,12 +15,18 @@
 
 # build and install everything into the standard system directories
 .PHONY: install
+ifdef CONFIG_STUBDOM
+install: install-stubdom
+endif
 install: install-xen install-kernels install-tools install-docs
 
 .PHONY: build
 build: kernels
        $(MAKE) -C xen build
        $(MAKE) -C tools build
+ifdef CONFIG_STUBDOM
+       $(MAKE) -C stubdom build
+endif
        $(MAKE) -C docs build
 
 # The test target is for unit tests that can run without an installation.  Of
@@ -33,6 +39,9 @@
 # build and install everything into local dist directory
 .PHONY: dist
 dist: DESTDIR=$(DISTDIR)/install
+ifdef CONFIG_STUBDOM
+dist: dist-stubdom
+endif
 dist: dist-xen dist-kernels dist-tools dist-docs
        $(INSTALL_DIR) $(DISTDIR)/check
        $(INSTALL_DATA) ./COPYING $(DISTDIR)
@@ -44,10 +53,11 @@
        @: # do nothing
 
 # Legacy dist targets
-.PHONY: xen tools kernels docs
+.PHONY: xen tools stubdom kernels docs
 xen: dist-xen
 tools: dist-tools
 kernels: dist-kernels
+stubdom: dist-stubdom
 docs: dist-docs
 
 .PHONY: prep-kernels
@@ -65,6 +75,10 @@
 .PHONY: install-kernels
 install-kernels:
        for i in $(XKERNELS) ; do $(MAKE) $$i-install || exit 1; done
+
+.PHONY: install-stubdom
+install-stubdom:
+       $(MAKE) -C stubdom install
 
 .PHONY: install-docs
 install-docs:
@@ -102,6 +116,7 @@
 clean::
        $(MAKE) -C xen clean
        $(MAKE) -C tools clean
+       $(MAKE) -C stubdom crossclean
        $(MAKE) -C docs clean
 
 # clean, but blow away kernel build tree plus tarballs
@@ -109,6 +124,7 @@
 distclean:
        $(MAKE) -C xen distclean
        $(MAKE) -C tools distclean
+       $(MAKE) -C stubdom distclean
        $(MAKE) -C docs distclean
        rm -rf dist patches/tmp
        for i in $(ALLKERNELS) ; do $(MAKE) $$i-delete ; done
@@ -132,6 +148,7 @@
        @echo '  install-xen      - build and install the Xen hypervisor'
        @echo '  install-tools    - build and install the control tools'
        @echo '  install-kernels  - build and install guest kernels'
+       @echo '  install-stubdom  - build and install the stubdomain images'
        @echo '  install-docs     - build and install user documentation'
        @echo ''
        @echo 'Building targets:'
@@ -140,6 +157,7 @@
        @echo '                     trees then make dist'
        @echo '  xen              - build and install Xen hypervisor'
        @echo '  tools            - build and install tools'
+       @echo '  stubdomain       - build and install the stubdomain images'
        @echo '  kernels          - build and install guest kernels'
        @echo '  kbuild           - synonym for make kernels'
        @echo '  docs             - build and install user documentation'

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] stubdom: Add root Makefile targets, disabled by default for now, Samuel Thibault <=