All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] build system: build kernels subsystem on Linux only
@ 2013-05-15 14:05 Christoph Egger
  2013-05-15 14:36 ` Ian Campbell
  0 siblings, 1 reply; 16+ messages in thread
From: Christoph Egger @ 2013-05-15 14:05 UTC (permalink / raw)
  To: xen-devel; +Cc: Ian Campbell

[-- 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

^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2013-05-30 13:59 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-15 14:05 [PATCH] build system: build kernels subsystem on Linux only Christoph Egger
2013-05-15 14:36 ` 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

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.