2013-10-13 16:55:32 +02:00
|
|
|
comment "rpm needs a toolchain w/ threads"
|
2012-07-04 03:47:14 +02:00
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
2014-06-02 13:57:12 +02:00
|
|
|
depends on BR2_USE_MMU # fork()
|
2012-07-04 03:47:14 +02:00
|
|
|
|
2008-04-14 12:56:41 +02:00
|
|
|
config BR2_PACKAGE_RPM
|
|
|
|
bool "rpm"
|
2012-07-04 03:47:14 +02:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # beecrypt
|
2014-06-02 13:57:12 +02:00
|
|
|
depends on BR2_USE_MMU # fork()
|
2008-04-14 12:56:41 +02:00
|
|
|
select BR2_PACKAGE_BEECRYPT
|
|
|
|
select BR2_PACKAGE_POPT
|
2009-12-25 11:29:22 +01:00
|
|
|
select BR2_PACKAGE_OPENSSL
|
neon: replace 'choice' for XML library with two options
The NEON library can either be compiled without XML support, with XML
support provided by Expat, or with XML support provided by
libxml2. Until now, to represent this, a Kconfig 'choice..endchoice'
was used. Unfortunately, another package cannot 'select' one of the
possible choices. So for example, a package such as 'rpm', or the
to-be-added 'subversion' package could not select their dependencies,
they had to do a 'depends on !BR2_PACKAGE_NEON_NOXML', which is not
how Buildroot handles library dependencies in general.
So, this commit replaces the 'choice...endchoice' block with simply
two configuration options that are mutually exclusive. The option
names are not changed, so no Config.in.legacy addition is needed.
An hidden option BR2_PACKAGE_NEON_XML is provided, so that packages
that need XML support in NEON but don't care whether it's provided by
Expat or libxml2 can simply select BR2_PACKAGE_NEON_XML.
The rpm package is updated accordingly.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-08-27 19:08:04 +02:00
|
|
|
select BR2_PACKAGE_NEON
|
|
|
|
select BR2_PACKAGE_NEON_XML
|
2008-12-31 19:27:31 +01:00
|
|
|
select BR2_PACKAGE_NEON_ZLIB
|
2009-12-25 11:29:22 +01:00
|
|
|
select BR2_PACKAGE_NEON_SSL
|
2008-04-14 12:56:41 +02:00
|
|
|
help
|
|
|
|
The RPM package management system.
|
|
|
|
|
|
|
|
http://rpm5.org
|
2009-12-25 11:29:22 +01:00
|
|
|
|
2011-10-11 09:52:17 +02:00
|
|
|
if BR2_PACKAGE_RPM
|
|
|
|
|
2009-12-25 11:29:22 +01:00
|
|
|
config BR2_PACKAGE_RPM_BZIP2_PAYLOADS
|
|
|
|
bool "support for bzip2 payloads"
|
|
|
|
select BR2_PACKAGE_BZIP2
|
|
|
|
help
|
|
|
|
Support for bzip2 payloads in RPM.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_RPM_XZ_PAYLOADS
|
|
|
|
bool "support for xz payloads"
|
2010-12-13 17:27:41 +01:00
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
2009-12-25 11:29:22 +01:00
|
|
|
help
|
|
|
|
Support for xz payloads in RPM.
|
|
|
|
|
2013-10-13 16:55:32 +02:00
|
|
|
comment "xz payload support needs a toolchain w/ C++"
|
2010-12-13 17:27:41 +01:00
|
|
|
depends on !BR2_INSTALL_LIBSTDCPP
|
2009-12-25 11:29:22 +01:00
|
|
|
|
2011-10-11 09:52:17 +02:00
|
|
|
endif
|