2008-04-12 11:56:15 +02:00
|
|
|
config BR2_PACKAGE_NEON
|
|
|
|
bool "libneon"
|
|
|
|
help
|
|
|
|
HTTP and WebDAV client library, with a C interface.
|
|
|
|
|
|
|
|
http://www.webdav.org/neon/
|
|
|
|
|
2013-08-27 19:08:03 +02:00
|
|
|
if BR2_PACKAGE_NEON
|
|
|
|
|
2008-12-31 19:22:43 +01:00
|
|
|
config BR2_PACKAGE_NEON_ZLIB
|
|
|
|
bool "ZLIB support"
|
|
|
|
select BR2_PACKAGE_ZLIB
|
|
|
|
help
|
|
|
|
build with ZLIB support
|
|
|
|
|
2009-12-20 23:49:45 +01:00
|
|
|
config BR2_PACKAGE_NEON_SSL
|
|
|
|
bool "SSL support"
|
|
|
|
select BR2_PACKAGE_OPENSSL
|
|
|
|
help
|
|
|
|
build with SSL support
|
|
|
|
|
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
|
|
|
# This is an hidden symbol other packages can select to ensure that
|
|
|
|
# Neon has XML support, either provided by Expat or libxml2.
|
|
|
|
config BR2_PACKAGE_NEON_XML
|
|
|
|
bool
|
|
|
|
select BR2_PACKAGE_NEON_EXPAT if !BR2_PACKAGE_NEON_LIBXML2
|
2008-04-12 11:56:15 +02:00
|
|
|
|
|
|
|
config BR2_PACKAGE_NEON_EXPAT
|
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
|
|
|
bool "XML support with expat"
|
|
|
|
depends on !BR2_PACKAGE_NEON_LIBXML2
|
2017-04-22 19:18:00 +02:00
|
|
|
select BR2_PACKAGE_EXPAT
|
2008-04-12 11:56:15 +02:00
|
|
|
help
|
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
|
|
|
Enable XML support in neon, using the Expat XML library.
|
2008-04-12 11:56:15 +02:00
|
|
|
|
|
|
|
config BR2_PACKAGE_NEON_LIBXML2
|
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
|
|
|
bool "XML support with libxml2"
|
2012-04-04 21:55:04 +02:00
|
|
|
select BR2_PACKAGE_LIBXML2
|
2008-04-12 11:56:15 +02:00
|
|
|
help
|
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
|
|
|
Enable XML support in neon, using the libxml2 XML library.
|
2013-08-27 19:08:03 +02:00
|
|
|
|
|
|
|
endif
|