aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikko Levonmaa <mikko.levonmaa@lge.com>2014-02-21 14:49:56 -0800
committerMartin Jansa <Martin.Jansa@gmail.com>2014-02-22 09:08:23 +0100
commit5d4479d19ddccbab0efec2c85b646b35a2f7c2bc (patch)
tree59348197a5a45e5c5a0a10c885230a9fbd422e4d
parent5599656cda1728b7262a9ae7154759dcd40a874e (diff)
qtbase: Make it easier to change [release|debug] PACKAGECONFIG
Also add -developer-build to PACKAGECONFIG Signed-off-by: Mikko Levonmaa <mikko.levonmaa@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--recipes-qt/qt5/qtbase.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes-qt/qt5/qtbase.inc b/recipes-qt/qt5/qtbase.inc
index 116c86f7..b4587af4 100644
--- a/recipes-qt/qt5/qtbase.inc
+++ b/recipes-qt/qt5/qtbase.inc
@@ -40,9 +40,11 @@ PACKAGECONFIG_FONTS ?= ""
PACKAGECONFIG_SYSTEM ?= "jpeg libpng zlib"
PACKAGECONFIG_MULTIMEDIA ?= "${@base_contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)}"
PACKAGECONFIG_DISTRO ?= ""
+# Either release or debug, can be overridden in bbappends
+PACKAGECONFIG_RELEASE ?= "release"
PACKAGECONFIG ??= " \
- release \
+ ${PACKAGECONFIG_RELEASE} \
dbus \
udev \
evdev \
@@ -58,6 +60,7 @@ PACKAGECONFIG ??= " \
"
PACKAGECONFIG[release] = "-release,-debug"
+PACKAGECONFIG[developer] = "-developer-build"
PACKAGECONFIG[sm] = "-sm,-no-sm"
PACKAGECONFIG[tests] = ",-nomake tests"
PACKAGECONFIG[examples] = ",-nomake examples"