buildrootschalter/target/Config.in
Peter Korsgaard ab1c8b3943 Kernel build fix related to external toolchain use
This patch prevents the user from select "linux (Same version as linux
headers)" as a choice for building the kernel when an external binary
toolchain is used, since "same version as linux headers" doesn't make
sense when an external toolchain is used.

It fixes the issue encountered by Hartley <hartleys@visionengravers.com>

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-11-04 19:58:48 +00:00

85 lines
2.0 KiB
Plaintext

menu "Target filesystem options"
comment "filesystem for target device"
source "target/cramfs/Config.in"
source "target/cloop/Config.in"
source "target/ext2/Config.in"
source "target/jffs2/Config.in"
source "target/ubifs/Config.in"
source "target/squashfs/Config.in"
source "target/tar/Config.in"
source "target/cpio/Config.in"
source "target/iso9660/Config.in"
source "target/initramfs/Config.in"
source "target/romfs/Config.in"
comment "bootloader for target device"
source "target/x86/grub/Config.in"
#source "target/x86/grub2/Config.in"
source "target/x86/syslinux/Config.in"
source "target/powerpc/yaboot/Config.in"
source "target/u-boot/Config.in"
endmenu
menu "Kernel"
choice
prompt "Kernel type"
default BR2_KERNEL_LINUX_ADVANCED if BR2_TARGET_ATMEL
default BR2_KERNEL_none if !BR2_TARGET_ATMEL
config BR2_KERNEL_none
bool "none"
help
Do not build a kernel
config BR2_KERNEL_LINUX_ADVANCED
bool "linux (Advanced configuration)"
select BR2_PACKAGE_LINUX
help
The Linux kernel - Advanced Configuration.
http://www.kernel.org/
Note: Requires kernel-headers >= 2.6.19 since the other
kernel headers are just that (headers) and not full
kernels. This is a feature.
# The kernel with the same version as linux headers cannot be compiled
# when using an external toolchain, because the linux headers are not
# handled by Buildroot in this case.
if BR2_TOOLCHAIN_SOURCE
config BR2_KERNEL_LINUX
bool "linux (Same version as linux headers)"
select BR2_PACKAGE_LINUX
help
The Linux kernel.
http://www.kernel.org/
Note: Requires kernel-headers >= 2.6.19 since the other
kernel headers are just that (headers) and not full
kernels. This is a feature.
endif
config BR2_KERNEL_HURD
bool "hurd"
help
GNU/Hurd kernel
endchoice
config BR2_PACKAGE_LINUX
bool
if BR2_PACKAGE_LINUX
source "target/linux/Config.in"
#source "target/linux/Config.in.experimental"
source "target/linux/Config.in.advanced"
endif
if BR2_KERNEL_HURD
source "target/hurd/Config.in"
endif
endmenu