From: Nigel Kukard Date: Wed, 31 Dec 2008 18:22:43 +0000 (-0000) Subject: * Refined building of neon options X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cc6562ff839502a65a3b202ffe7fa3c67bae0856;p=buildroot.git * Refined building of neon options - Added support to build with or without zlib support --- diff --git a/package/neon/Config.in b/package/neon/Config.in index 1ffb61a35a..e9050742ba 100644 --- a/package/neon/Config.in +++ b/package/neon/Config.in @@ -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 diff --git a/package/neon/neon.mk b/package/neon/neon.mk index e92e134b65..61cf7527e0 100644 --- a/package/neon/neon.mk +++ b/package/neon/neon.mk @@ -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