linux/ext: fix Xenomai unmet dependencies

Properly propagate the Xenomai dependencies to the corresponding kernel
extension, to fix the following unmet dependencies:

    warning: (BR2_LINUX_KERNEL_EXT_XENOMAI) selects BR2_PACKAGE_XENOMAI
    which has unmet direct dependencies (BR2_PACKAGE_XENOMAI_ARCH_SUPPORTS
    && BR2_TOOLCHAIN_HAS_THREADS && !BR2_TOOLCHAIN_USES_MUSL)

While at it, move the comment lower, after the path option, so that the
path option is properly indented in the menuconfig.

Add markers to separate each extension.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Yann E. MORIN 2016-09-11 14:38:52 +02:00 committed by Thomas Petazzoni
parent f158f117d3
commit 9f5802c16f

View File

@ -1,11 +1,12 @@
menu "Linux Kernel Extensions" menu "Linux Kernel Extensions"
#-------------------------------------------------------------------------------
# Xenomai # Xenomai
config BR2_LINUX_KERNEL_EXT_XENOMAI config BR2_LINUX_KERNEL_EXT_XENOMAI
bool "Adeos/Xenomai Real-time patch" bool "Adeos/Xenomai Real-time patch"
depends on BR2_PACKAGE_XENOMAI_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_i386 || BR2_x86_64 || BR2_arm || \ depends on !BR2_TOOLCHAIN_USES_MUSL
BR2_bfin || BR2_powerpc || BR2_sh4
select BR2_PACKAGE_XENOMAI select BR2_PACKAGE_XENOMAI
help help
Xenomai is split in two parts: a kernel part and a userspace Xenomai is split in two parts: a kernel part and a userspace
@ -24,19 +25,19 @@ config BR2_LINUX_KERNEL_EXT_XENOMAI
Xenomai is know to support Blackfin, SH4, x86, ARM, NIOS2 Xenomai is know to support Blackfin, SH4, x86, ARM, NIOS2
and PowerPC architectures. and PowerPC architectures.
comment "xenomai needs a toolchain w/ threads"
depends on BR2_i386 || BR2_x86_64 || BR2_arm || \
BR2_bfin || BR2_powerpc || BR2_sh4
depends on !BR2_TOOLCHAIN_HAS_THREADS
config BR2_LINUX_KERNEL_EXT_XENOMAI_ADEOS_PATCH config BR2_LINUX_KERNEL_EXT_XENOMAI_ADEOS_PATCH
depends on BR2_LINUX_KERNEL_EXT_XENOMAI
string "Path for Adeos patch file" string "Path for Adeos patch file"
depends on BR2_LINUX_KERNEL_EXT_XENOMAI
help help
Optionally, explicitly specify the Adeos patch to use. Optionally, explicitly specify the Adeos patch to use.
Download it at http://download.gna.org/adeos/patches Download it at http://download.gna.org/adeos/patches
and verify that your kernel version in buildroot matches. and verify that your kernel version in buildroot matches.
comment "xenomai needs a uClibc or glibc toolchain w/ threads"
depends on BR2_PACKAGE_XENOMAI_ARCH_SUPPORTS
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_USES_MUSL
#-------------------------------------------------------------------------------
# RTAI # RTAI
config BR2_LINUX_KERNEL_EXT_RTAI config BR2_LINUX_KERNEL_EXT_RTAI
bool "RTAI Real-time patch" bool "RTAI Real-time patch"
@ -44,6 +45,7 @@ config BR2_LINUX_KERNEL_EXT_RTAI
help help
RTAI Kernel part. RTAI Kernel part.
#-------------------------------------------------------------------------------
# fbtft # fbtft
config BR2_LINUX_KERNEL_EXT_FBTFT config BR2_LINUX_KERNEL_EXT_FBTFT
bool "FB TFT drivers" bool "FB TFT drivers"