Sfoglia il codice sorgente

* Refined building of neon options
- Added support to build with or without zlib support

Nigel Kukard 16 anni fa
parent
commit
cc6562ff83
2 ha cambiato i file con 13 aggiunte e 0 eliminazioni
  1. 7 0
      package/neon/Config.in
  2. 6 0
      package/neon/neon.mk

+ 7 - 0
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

+ 6 - 0
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