소스 검색

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

Nigel Kukard 16 년 전
부모
커밋
cc6562ff83
2개의 변경된 파일13개의 추가작업 그리고 0개의 파일을 삭제
  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