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

[Xen-devel] [PATCH] Don't attempt to build kernels on Solaris.



# HG changeset patch
# User john.levon@xxxxxxx
# Date 1161090501 25200
# Node ID f75a36bdfe9728f99ec81c9279725e47f9d7d14a
# Parent  d8e4ae663b2b03e76f2152b8846a067fc2911572
Don't attempt to build kernels on Solaris.

Signed-off-by: John Levon <john.levon@xxxxxxx>

diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -57,38 +57,46 @@ kernels: dist-kernels
 kernels: dist-kernels
 docs: dist-docs
 
+.PHONY: install-xen
+install-xen:
+       $(MAKE) -C xen install
+
+.PHONY: install-tools
+install-tools:
+       $(MAKE) -C tools install
+
+.PHONY: install-docs
+install-docs:
+       sh ./docs/check_pkgs && $(MAKE) -C docs install || true
+
+.PHONY: dev-docs
+dev-docs:
+       $(MAKE) -C docs dev-docs
+
 .PHONY: prep-kernels
 prep-kernels:
        for i in $(XKERNELS) ; do $(MAKE) $$i-prep || exit 1; done
 
-.PHONY: install-xen
-install-xen:
-       $(MAKE) -C xen install
-
-.PHONY: install-tools
-install-tools:
-       $(MAKE) -C tools install
-
-.PHONY: install-kernels
-install-kernels:
+.PHONY: install-kernels install-kernels-$(XEN_OS)
+install-kernels-Linux:
        for i in $(XKERNELS) ; do $(MAKE) $$i-install || exit 1; done
 
-.PHONY: install-docs
-install-docs:
-       sh ./docs/check_pkgs && $(MAKE) -C docs install || true
-
-.PHONY: dev-docs
-dev-docs:
-       $(MAKE) -C docs dev-docs
+install-kernels-SunOS:
+
+install-kernels: install-kernels-$(XEN_OS)
 
 # Build all the various kernels and modules
 .PHONY: kbuild
 kbuild: kernels
 
 # Delete the kernel build trees entirely
-.PHONY: kdelete
-kdelete:
+.PHONY: kdelete kdelete-$(XEN_OS)
+kdelete-Linux:
        for i in $(XKERNELS) ; do $(MAKE) $$i-delete ; done
+
+kdelete-SunOS:
+
+kdelete: kdelete-$(XEN_OS)
 
 # Clean the kernel build trees
 .PHONY: kclean

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


 


Rackspace

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