summaryrefslogtreecommitdiff
path: root/classes/opie.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/opie.bbclass')
-rw-r--r--classes/opie.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/opie.bbclass b/classes/opie.bbclass
index c11cf0b4de..6324dbf522 100644
--- a/classes/opie.bbclass
+++ b/classes/opie.bbclass
@@ -21,7 +21,8 @@ DEPENDS_prepend = "${@["libopie2 ", ""][(bb.data.getVar('PN', d, 1) == 'libopie2
# to be consistent, put all targets into workdir
# NOTE: leave one space at the end, other files are expecting that
-EXTRA_QMAKEVARS_POST += "DESTDIR=${S} "
+EXTRA_QMAKEVARS_POST += " DESTDIR=${S} "
+EXTRA_QMAKEVARS_POST += " DEFINES+=OPIE_BINDIR='\"${bindir}\"' DEFINES+=OPIE_LIBDIR='\"${libdir}/opie/lib\"' DEFINES+=OPIE_QTDIR='\"${libdir}/opie\"' "
# Opie standard TAG value
TAG = "${@'v' + bb.data.getVar('PV',d,1).replace('.', '_')}"