diff --git a/target/Config.in b/target/Config.in index c6b2e3196e..ca426c3876 100644 --- a/target/Config.in +++ b/target/Config.in @@ -45,6 +45,11 @@ config BR2_KERNEL_LINUX_ADVANCED 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 @@ -56,6 +61,8 @@ config BR2_KERNEL_LINUX kernel headers are just that (headers) and not full kernels. This is a feature. +endif + config BR2_KERNEL_HURD bool "hurd" help