Skip to contentSkip to conversation

svn commit: trunk/buildroot/target: hurd linux

Buildroot aldot at uclibc.org 1 participant 1 message Sep 22, 2007

lore
Share & tools
lore
#0 lore raw

Author: aldot
Date: 2007-09-22 07:53:38 -0700 (Sat, 22 Sep 2007) New Revision: 19940

Log:
- add a more generic "Kernel" menu instead of "Linux Options"

Added:
trunk/buildroot/target/hurd/
trunk/buildroot/target/hurd/Config.in

Modified:
trunk/buildroot/target/Config.in
trunk/buildroot/target/linux/Config.in

Changeset:
Modified: trunk/buildroot/target/Config.in
===================================================================

buildroot/target/Config.in +27 -1
@@ -18,8 +18,34 @@
 #source "target/x86/grub2/Config.in"
 source "target/x86/syslinux/Config.in"
 source "target/powerpc/yaboot/Config.in"
+endmenu
 
+menu "Kernel"
+choice
+	prompt "Kernel type"
+	default BR2_KERNEL_LINUX
+
+config BR2_KERNEL_none
+	bool "none"
+	help
+	  Do not build a kernel
+
+config BR2_KERNEL_LINUX
+	bool "linux"
+	help
+	  Linux kernel
+
+config BR2_KERNEL_HURD
+	bool "hurd"
+	help
+	  GNU/Hurd kernel
+endchoice
+if BR2_KERNEL_LINUX
+source "target/linux/Config.in"
+endif
+if BR2_KERNEL_HURD
+source "target/hurd/Config.in"
+endif
 endmenu
 
-source "target/linux/Config.in"
 source "target/device/Config.in"

Added: trunk/buildroot/target/hurd/Config.in
===================================================================

buildroot/target/hurd/Config.in +11 -0
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_HURD
+	bool "Hurd kernel"
+	depends on BR2_KERNEL_HURD
+	default y
+	help
+	  The GNU/Hurd kernel.
+	  http://www.gnu.org/software/hurd/
+
+	  FIXME: Currently not implemented.
+
+

Modified: trunk/buildroot/target/linux/Config.in
===================================================================

buildroot/target/linux/Config.in +3 -3
@@ -1,8 +1,9 @@
-menu "Linux Options"
+#comment "Linux kernel options"
 
 config BR2_PACKAGE_LINUX
 	bool "linux kernel"
-	default n
+	depends on BR2_KERNEL_LINUX
+	default y
 	help
 	  The Linux kernel.
 	  http://www.kernel.org/
@@ -387,4 +388,3 @@
 	  	Copy kernel to secondary location
 
 endif
-endmenu