From: Christoph Egger <chegger@amazon.de>
To: xen-devel <xen-devel@lists.xen.org>
Cc: Ian Campbell <Ian.Campbell@citrix.com>
Subject: [PATCH] build system: build kernels subsystem on Linux only
Date: Wed, 15 May 2013 16:05:58 +0200 [thread overview]
Message-ID: <51939646.7090306@amazon.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 1188 bytes --]
commit d59122a365ad40c3ff59a0be7427cccbc81aaa4a
Author: Christoph Egger <chegger@amazon.de>
Date: Wed Mar 20 13:46:38 2013 +0000
build: enable kernels subsystem on Linux only
Signed-off-by: Christoph Egger <chegger@amazon.de>
diff --git a/Makefile b/Makefile
index 5a7107e..e47f29c 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@
all: dist
-include config/Toplevel.mk
-SUBSYSTEMS?=xen kernels tools stubdom docs
+SUBSYSTEMS?=xen tools stubdom docs
TARGS_DIST=$(patsubst %, dist-%, $(SUBSYSTEMS))
TARGS_INSTALL=$(patsubst %, install-%, $(SUBSYSTEMS))
diff --git a/configure.ac b/configure.ac
index ce06dad..9aafb8a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,8 +22,18 @@ case "$host_cpu" in
;;
esac
+dnl Enable kernel subsystem on Linux only
+case "$host_os" in
+ Linux)
+ os_enable_kernels=y
+ ;;
+ *)
+ os_enable_kernels=n
+ ;;
+esac
+
AX_SUBSYSTEM_DEFAULT_ENABLE([xen])
-AX_SUBSYSTEM_DEFAULT_ENABLE([kernels])
+AX_SUBSYSTEM_CONDITIONAL([kernels], $os_enable_kernels)
AX_SUBSYSTEM_DEFAULT_ENABLE([tools])
AX_SUBSYSTEM_CONDITIONAL([stubdom], $arch_enable_stubdom)
AX_SUBSYSTEM_DEFAULT_ENABLE([docs])
[-- Attachment #2: patch_subsystem.diff --]
[-- Type: text/plain, Size: 1188 bytes --]
commit d59122a365ad40c3ff59a0be7427cccbc81aaa4a
Author: Christoph Egger <chegger@amazon.de>
Date: Wed Mar 20 13:46:38 2013 +0000
build: enable kernels subsystem on Linux only
Signed-off-by: Christoph Egger <chegger@amazon.de>
diff --git a/Makefile b/Makefile
index 5a7107e..e47f29c 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@
all: dist
-include config/Toplevel.mk
-SUBSYSTEMS?=xen kernels tools stubdom docs
+SUBSYSTEMS?=xen tools stubdom docs
TARGS_DIST=$(patsubst %, dist-%, $(SUBSYSTEMS))
TARGS_INSTALL=$(patsubst %, install-%, $(SUBSYSTEMS))
diff --git a/configure.ac b/configure.ac
index ce06dad..9aafb8a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,8 +22,18 @@ case "$host_cpu" in
;;
esac
+dnl Enable kernel subsystem on Linux only
+case "$host_os" in
+ Linux)
+ os_enable_kernels=y
+ ;;
+ *)
+ os_enable_kernels=n
+ ;;
+esac
+
AX_SUBSYSTEM_DEFAULT_ENABLE([xen])
-AX_SUBSYSTEM_DEFAULT_ENABLE([kernels])
+AX_SUBSYSTEM_CONDITIONAL([kernels], $os_enable_kernels)
AX_SUBSYSTEM_DEFAULT_ENABLE([tools])
AX_SUBSYSTEM_CONDITIONAL([stubdom], $arch_enable_stubdom)
AX_SUBSYSTEM_DEFAULT_ENABLE([docs])
[-- Attachment #3: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next reply other threads:[~2013-05-15 14:05 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-15 14:05 Christoph Egger [this message]
2013-05-15 14:36 ` [PATCH] build system: build kernels subsystem on Linux only Ian Campbell
2013-05-30 9:09 ` [PATCH] build: disable building kernel subsystem by default Ian Campbell
2013-05-30 9:40 ` George Dunlap
2013-05-30 10:03 ` Ian Campbell
2013-05-30 10:32 ` Egger, Christoph
2013-05-30 11:22 ` Ian Jackson
2013-05-30 11:25 ` Ian Campbell
2013-05-30 11:40 ` Ian Jackson
2013-05-30 11:44 ` Ian Campbell
2013-05-30 13:18 ` Ian Jackson
2013-05-30 12:36 ` Christoph Egger
2013-05-30 13:02 ` Ian Campbell
2013-05-30 13:18 ` Pasi Kärkkäinen
2013-05-30 13:34 ` Ian Campbell
2013-05-30 13:59 ` Pasi Kärkkäinen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51939646.7090306@amazon.de \
--to=chegger@amazon.de \
--cc=Ian.Campbell@citrix.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.