neon: factorize 'depends on BR2_PACKAGE_NEON'
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 27 Aug 2013 17:08:03 +0000 (19:08 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 27 Aug 2013 22:23:37 +0000 (00:23 +0200)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/neon/Config.in

index f972dbbd016bc3093b2215c3fbe62993d614e47d..54b51c8ffd64b1d206823ed5a11791091fbb3af4 100644 (file)
@@ -5,23 +5,22 @@ config BR2_PACKAGE_NEON
 
          http://www.webdav.org/neon/
 
+if BR2_PACKAGE_NEON
+
 config BR2_PACKAGE_NEON_ZLIB
        bool "ZLIB support"
-       depends on BR2_PACKAGE_NEON
        select BR2_PACKAGE_ZLIB
        help
          build with ZLIB support
 
 config BR2_PACKAGE_NEON_SSL
        bool "SSL support"
-       depends on BR2_PACKAGE_NEON
        select BR2_PACKAGE_OPENSSL
        help
          build with SSL support
 
 choice
        prompt "XML Support"
-       depends on BR2_PACKAGE_NEON
        help
          Select which XML library to use...
          none       do not build with XML support
@@ -46,3 +45,5 @@ config BR2_PACKAGE_NEON_LIBXML2
          libxml2    use libxml2, a library to read, modify and
                     write XML and HTML files.
 endchoice
+
+endif