665e13c85e
Since a while, the semantic of BR2_PREFER_STATIC_LIB has been changed from "prefer static libraries when possible" to "use only static libraries". The former semantic didn't make much sense, since the user had absolutely no control/idea of which package would use static libraries, and which packages would not. Therefore, for quite some time, we have been starting to enforce that BR2_PREFER_STATIC_LIB should really build everything with static libraries. As a consequence, this patch renames BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS, and adjust the Config.in option accordingly. This also helps preparing the addition of other options to select shared, shared+static or just static. Note that we have verified that this commit can be reproduced by simply doing a global rename of BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS plus adding BR2_PREFER_STATIC_LIB to Config.in.legacy. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
48 lines
1.2 KiB
Plaintext
48 lines
1.2 KiB
Plaintext
config BR2_PACKAGE_UDISKS
|
|
bool "udisks"
|
|
depends on !BR2_avr32 # udev
|
|
depends on BR2_PACKAGE_HAS_UDEV
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus-glib -> glib2
|
|
depends on BR2_USE_MMU # lvm2
|
|
depends on !BR2_STATIC_LIBS # lvm2
|
|
select BR2_PACKAGE_DBUS
|
|
select BR2_PACKAGE_DBUS_GLIB
|
|
depends on BR2_USE_WCHAR # dbus-glib -> glib2
|
|
select BR2_PACKAGE_SG3_UTILS
|
|
select BR2_PACKAGE_POLKIT
|
|
select BR2_PACKAGE_PARTED
|
|
select BR2_PACKAGE_LVM2
|
|
select BR2_PACKAGE_LIBATASMART
|
|
help
|
|
The udisks project provides
|
|
|
|
o A storage daemon that implements well-defined D-Bus
|
|
interfaces that can be used to query and manipulate
|
|
storage devices.
|
|
|
|
o a command-line tool, udisks(1), that can be used to query
|
|
and use the daemon
|
|
|
|
http://www.freedesktop.org/wiki/Software/udisks
|
|
|
|
if BR2_PACKAGE_UDISKS
|
|
|
|
config BR2_PACKAGE_UDISKS_LVM2
|
|
bool "lvm2 support"
|
|
select BR2_PACKAGE_LVM2_APP_LIBRARY
|
|
help
|
|
Enable LVM2 support
|
|
|
|
endif
|
|
|
|
comment "udisks needs udev /dev management"
|
|
depends on !BR2_avr32
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_PACKAGE_HAS_UDEV
|
|
|
|
comment "udisks needs a toolchain w/ wchar, threads, dynamic library"
|
|
depends on !BR2_avr32
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
BR2_STATIC_LIBS
|