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

This commit is contained in:
Bernhard Reutner-Fischer 2007-09-22 14:53:38 +00:00
parent adf28e194c
commit ea3aa3aa28
3 changed files with 41 additions and 4 deletions

View File

@ -18,8 +18,34 @@ source "target/x86/grub/Config.in"
#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/device/Config.in"

11
target/hurd/Config.in Normal file
View File

@ -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.

View File

@ -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 @@ config BR2_LINUX_COPYTO
Copy kernel to secondary location
endif
endmenu