summaryrefslogtreecommitdiffstats
path: root/meta/classes/palmtop.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
committerRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
commitb2f192faabe412adce79534e22efe9fb69ee40e2 (patch)
tree7076c49d4286f8a1733650bd8fbc7161af200d57 /meta/classes/palmtop.bbclass
parent2cf0eadf9f730027833af802d7e6c90b44248f80 (diff)
downloadpoky-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/palmtop.bbclass')
-rw-r--r--meta/classes/palmtop.bbclass20
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/classes/palmtop.bbclass b/meta/classes/palmtop.bbclass
new file mode 100644
index 0000000000..9d54de8748
--- /dev/null
+++ b/meta/classes/palmtop.bbclass
@@ -0,0 +1,20 @@
1# this build class sets up qmake variables to
2# * build using the Qt Windowing System (QWS)
3# * use qt
4# * link against supc++ instead of stdc++
5# * use threads, if requested via PALMTOP_USE_MULTITHREADED_QT = "yes"
6# inherit this class to build programs against libqpe
7# inherit opie if you want to build programs against libopie2
8# don't override EXTRA_QMAKEVARS_POST, if you use inherit this class
9
10inherit qmake
11
12# special case for DISTRO = sharprom
13CPP_SUPPORT_LIB = "LIBS-=-lstdc++ LIBS+=-lsupc++"
14CPP_SUPPORT_LIB_sharprom = "LIBS-=-lstdc++"
15EXTRA_QMAKEVARS_POST += "DEFINES+=QWS CONFIG+=qt ${CPP_SUPPORT_LIB}"
16EXTRA_QMAKEVARS_POST += '${@base_conditional("PALMTOP_USE_MULTITHREADED_QT", "yes", "CONFIG+=thread", "CONFIG-=thread",d)}'
17EXTRA_QMAKEVARS_POST += "${@["LIBS+=-lqpe ", ""][(bb.data.getVar('PN', d, 1) == 'libqpe-opie')]}"
18DEPENDS_prepend = "${@["virtual/libqpe1 uicmoc-native ", ""][(bb.data.getVar('PN', d, 1) == 'libqpe-opie')]}"
19
20FILES_${PN} = "${palmtopdir}"