From: Markus Heidelberg <markus.heidelberg@web.de>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] qtopia4: reduce the use of BR2_PACKAGE_QTOPIA4
Date: Sat, 25 Oct 2008 03:19:08 +0200 [thread overview]
Message-ID: <200810250319.09175.markus.heidelberg@web.de> (raw)
Use one conditional if statement instead of several single "depends on".
---
package/qtopia4/Config.in | 27 ++++++---------------------
1 files changed, 6 insertions(+), 21 deletions(-)
diff --git a/package/qtopia4/Config.in b/package/qtopia4/Config.in
index 37733b6..11c05f7 100644
--- a/package/qtopia4/Config.in
+++ b/package/qtopia4/Config.in
@@ -7,16 +7,16 @@ config BR2_PACKAGE_QTOPIA4
http://www.trolltech.com/
+if BR2_PACKAGE_QTOPIA4
+
config BR2_PACKAGE_QTOPIA4_DEBUG
bool "Compile with debug support"
- depends on BR2_PACKAGE_QTOPIA4
help
If unsure, say N.
choice
prompt "Library type"
default BR2_PACKAGE_QTOPIA4_SHARED
- depends on BR2_PACKAGE_QTOPIA4
help
Selects the library type: Shared or Static
@@ -40,7 +40,6 @@ endchoice
choice
prompt "Qtopia 4 Core license type"
default BR2_PACKAGE_QTOPIA4_LICENSE_TYPE_GPL
- depends on BR2_PACKAGE_QTOPIA4
help
Selects the type of license you which to use for Qtopia 4 Core.
@@ -54,7 +53,7 @@ endchoice
config BR2_PACKAGE_QTOPIA4_GPL_LICENSE_APPROVED
bool "Approve Qtopia Core 4 GPL licence"
- depends on BR2_PACKAGE_QTOPIA4 && BR2_PACKAGE_QTOPIA4_LICENSE_TYPE_GPL
+ depends on BR2_PACKAGE_QTOPIA4_LICENSE_TYPE_GPL
help
Select this if you approve the GNU GENERAL PUBLIC LICENSE Version 2
on the Qtopia Core 4 library. By doing this you will not be asked
@@ -67,7 +66,7 @@ config BR2_PACKAGE_QTOPIA4_GPL_LICENSE_APPROVED
config BR2_PACKAGE_QTOPIA4_COMMERCIAL_USERNAME
string "Qtopia Core 4 Commercial License Username"
default ""
- depends on BR2_PACKAGE_QTOPIA4 && BR2_PACKAGE_QTOPIA4_LICENSE_TYPE_COMMERCIAL
+ depends on BR2_PACKAGE_QTOPIA4_LICENSE_TYPE_COMMERCIAL
help
Commercial users can download their source directly by
providing a username.
@@ -75,14 +74,13 @@ config BR2_PACKAGE_QTOPIA4_COMMERCIAL_USERNAME
config BR2_PACKAGE_QTOPIA4_COMMERCIAL_PASSWORD
string "Qtopia Core 4 Commercial License Password"
default ""
- depends on BR2_PACKAGE_QTOPIA4 && BR2_PACKAGE_QTOPIA4_LICENSE_TYPE_COMMERCIAL
+ depends on BR2_PACKAGE_QTOPIA4_LICENSE_TYPE_COMMERCIAL
help
Commercial users can download their source directly by
providing a password.
config BR2_PACKAGE_QTOPIA4_QT3SUPPORT
bool "Compatibility with Qt3"
- depends on BR2_PACKAGE_QTOPIA4
help
Turns on support for older Qt3. This will create an additional
library with proxy code and increase the space required on target.
@@ -91,26 +89,22 @@ config BR2_PACKAGE_QTOPIA4_QT3SUPPORT
config BR2_PACKAGE_QTOPIA4_DEPTHS
string "color depths to support"
default "-depths 24,16,8"
- depends on BR2_PACKAGE_QTOPIA4
help
Which color depths to support for the library. Default is "-depths
24,16,8". Different depths are specified by a comma separated list.
config BR2_PACKAGE_QTOPIA4_GIF
bool "Enable GIF support"
- depends on BR2_PACKAGE_QTOPIA4
help
This compiles and installs the plugin for GIF reading support.
config BR2_PACKAGE_QTOPIA4_LIBMNG
bool "Enable libmng support"
- depends on BR2_PACKAGE_QTOPIA4
help
This compiles and installs the plugin for MNG support.
choice
prompt "JPEG support"
- depends on BR2_PACKAGE_QTOPIA4
default BR2_PACKAGE_QTOPIA4_NOJPEG
help
Select libjpeg support.
@@ -134,7 +128,6 @@ endchoice
choice
prompt "PNG support"
- depends on BR2_PACKAGE_QTOPIA4
default BR2_PACKAGE_QTOPIA4_NOPNG
help
Select which library to use if PNG support should be enabled.
@@ -152,7 +145,6 @@ endchoice
choice
prompt "TIFF support"
- depends on BR2_PACKAGE_QTOPIA4
default BR2_PACKAGE_QTOPIA4_NOTIFF
help
Select which library to use if TIFF support should be enabled.
@@ -170,7 +162,6 @@ endchoice
choice
prompt "zlib support"
- depends on BR2_PACKAGE_QTOPIA4
default BR2_PACKAGE_QTOPIA4_QTZLIB
help
Select zlib support.
@@ -189,7 +180,6 @@ endchoice
choice
prompt "freetype2 support"
- depends on BR2_PACKAGE_QTOPIA4
default BR2_PACKAGE_QTOPIA4_NOFREETYPE
help
Select freetype2 support.
@@ -231,13 +221,11 @@ config BR2_PACKAGE_QTOPIA4_EMB_PLATFORM
default "generic" if BR2_sh
default "generic" if BR2_sh64
default "generic" if BR2_sparc
- depends on BR2_PACKAGE_QTOPIA4
help
The target platform.
menuconfig BR2_PACKAGE_QTOPIA4_SQL_MODULE
bool "SQL Module"
- depends on BR2_PACKAGE_QTOPIA4
help
Compile Qtopia SQL Module
if BR2_PACKAGE_QTOPIA4_SQL_MODULE
@@ -246,28 +234,24 @@ endif
config BR2_PACKAGE_QTOPIA4_XMLPATTERNS
bool "XML Patterns Module"
- depends on BR2_PACKAGE_QTOPIA4
help
Build QtXmlPatterns module.
If unsure, say n
config BR2_PACKAGE_QTOPIA4_SVG
bool "SVG Module"
- depends on BR2_PACKAGE_QTOPIA4
help
Build the SVG module.
If unsure, say n
config BR2_PACKAGE_QTOPIA4_WEBKIT
bool "WebKit Module"
- depends on BR2_PACKAGE_QTOPIA4
help
Build the WebKit module.
If unsure, say n.
config BR2_PACKAGE_QTOPIA4_OPENSSL
bool "Enable OpenSSL support"
- depends on BR2_PACKAGE_QTOPIA4
select BR2_PACKAGE_OPENSSL
help
Enable support for the OpenSSL encryption library. If you use
@@ -275,3 +259,4 @@ config BR2_PACKAGE_QTOPIA4_OPENSSL
target.
If unsure, say n.
+endif # BR2_PACKAGE_QTOPIA4
--
1.5.6.4
next reply other threads:[~2008-10-25 1:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-25 1:19 Markus Heidelberg [this message]
2008-10-26 6:03 ` [Buildroot] [PATCH] qtopia4: reduce the use of BR2_PACKAGE_QTOPIA4 Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200810250319.09175.markus.heidelberg@web.de \
--to=markus.heidelberg@web.de \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox