kumquat-buildroot/package/rpm
Thomas Petazzoni 9169810a9b 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-28 00:23:49 +02:00
..
Config.in neon: replace 'choice' for XML library with two options 2013-08-28 00:23:49 +02:00
rpm-5.2.0_depends-fix.patch
rpm-5.2.0_exclude-some-tools.patch
rpm-5.2.0_ignore-shared-mutexes.patch
rpm-5.2.0_no-parentdirs.patch
rpm-5.2.0_ordering-fix.patch
rpm-5.2.0_parentdir-vs-requires.patch
rpm-5.2.0_short-circuit-c99.patch
rpm-5.2.0-uclibc-no-lfs-fix.patch
rpm.mk fix white spaces 2013-07-20 21:13:57 +02:00