* Refined building of neon options
- Added support to build with or without zlib support
This commit is contained in:
parent
a36ca7a8c5
commit
cc6562ff83
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user