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>
This commit is contained in:
Mikko Levonmaa
2014-02-21 14:49:56 -08:00
committed by Martin Jansa
parent 5599656cda
commit 5d4479d19d

View File

@@ -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"