Since kmod 14, the support for building a static library has been
removed completely from kmod. Therefore, we mark kmod as
!BR2_PREFER_STATIC_LIB, as well as all its reverse dependencies, which
includes the option to use the "udev" /dev management method.
[Peter: show comment for udev when BR2_PREFER_STATIC_LIB is enabled]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
config BR2_PACKAGE_KMOD
bool "kmod"
+ depends on !BR2_PREFER_STATIC_LIB
help
handle kernel modules
depends on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
depends on BR2_LARGEFILE # util-linux
depends on BR2_USE_WCHAR # util-linux
+ depends on !BR2_PREFER_STATIC_LIB # kmod
select BR2_PACKAGE_UTIL_LINUX
select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
select BR2_PACKAGE_KMOD
bool "Dynamic using udev"
depends on BR2_LARGEFILE # udev
depends on BR2_USE_WCHAR # udev
+ depends on !BR2_PREFER_STATIC_LIB # udev -> kmod
select BR2_PACKAGE_UDEV
comment "udev requires a toolchain with LARGEFILE + WCHAR support"
depends on !(BR2_LARGEFILE && BR2_USE_WCHAR)
+comment "udev doesn't work with 'prefer static libraries'"
+ depends on BR2_PREFER_STATIC_LIB
+
endchoice
choice