* Refined building of neon options

- Added support to build with or without zlib support
This commit is contained in:
Nigel Kukard 2008-12-31 18:22:43 +00:00
parent a36ca7a8c5
commit cc6562ff83
2 changed files with 13 additions and 0 deletions

View file

@ -6,6 +6,13 @@ config BR2_PACKAGE_NEON
http://www.webdav.org/neon/
config BR2_PACKAGE_NEON_ZLIB
bool "ZLIB support"
depends on BR2_PACKAGE_NEON
select BR2_PACKAGE_ZLIB
help
build with ZLIB support
choice
prompt "XML Support"
default BR2_PACKAGE_NEON_NOXML

View file

@ -16,6 +16,12 @@ NEON_CONF_OPT+=--with-libxml2=yes
NEON_CONF_OPT+=--with-expat=no
NEON_DEPENDENCIES+=libxml2
endif
ifeq ($(BR2_PACKAGE_NEON_ZLIB),y)
NEON_CONF_OPT+=--with-zlib=$(STAGING_DIR)
NEON_DEPENDENCIES+=zlib
else
NEON_CONF_OPT+=--without-zlib
endif
ifeq ($(BR2_PACKAGE_NEON_EXPAT),y)
NEON_CONF_OPT+=--with-expat=$(STAGING_DIR)/usr/lib/libexpat.la
NEON_CONF_OPT+=--with-libxml2=no