diff options
author | Florian Boor <florian.boor@kernelconcepts.de> | 2006-04-25 20:16:57 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-04-25 20:16:57 +0000 |
commit | f92a5768110135f0e65e6df83e6067b436227aac (patch) | |
tree | 4662c6052a0d43475bfdf98a8791d665b66f16a3 /classes/palmtop.bbclass | |
parent | 276625340e2e1a0a083f59b7e4b82185de3edfce (diff) | |
parent | 124980a3be76b3e908f6312b398db975960fd57b (diff) |
merge of 40e0d43922ade23991fd310c42765e18cb590337
and 58d737a9422a93415e99e0ad16e64549264b4bb2
Diffstat (limited to 'classes/palmtop.bbclass')
-rw-r--r-- | classes/palmtop.bbclass | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/classes/palmtop.bbclass b/classes/palmtop.bbclass index 9d54de8748..523c3d71bb 100644 --- a/classes/palmtop.bbclass +++ b/classes/palmtop.bbclass @@ -1,20 +1,10 @@ -# this build class sets up qmake variables to -# * build using the Qt Windowing System (QWS) -# * use qt -# * link against supc++ instead of stdc++ -# * use threads, if requested via PALMTOP_USE_MULTITHREADED_QT = "yes" -# inherit this class to build programs against libqpe -# inherit opie if you want to build programs against libopie2 -# don't override EXTRA_QMAKEVARS_POST, if you use inherit this class +# basically a placeholder for something more fancy +# for now, just declare some things inherit qmake -# special case for DISTRO = sharprom -CPP_SUPPORT_LIB = "LIBS-=-lstdc++ LIBS+=-lsupc++" -CPP_SUPPORT_LIB_sharprom = "LIBS-=-lstdc++" -EXTRA_QMAKEVARS_POST += "DEFINES+=QWS CONFIG+=qt ${CPP_SUPPORT_LIB}" -EXTRA_QMAKEVARS_POST += '${@base_conditional("PALMTOP_USE_MULTITHREADED_QT", "yes", "CONFIG+=thread", "CONFIG-=thread",d)}' -EXTRA_QMAKEVARS_POST += "${@["LIBS+=-lqpe ", ""][(bb.data.getVar('PN', d, 1) == 'libqpe-opie')]}" -DEPENDS_prepend = "${@["virtual/libqpe1 uicmoc-native ", ""][(bb.data.getVar('PN', d, 1) == 'libqpe-opie')]}" +EXTRA_QMAKEVARS_POST_append = " DEFINES+=QWS LIBS+=-lqpe CONFIG+=qt LIBS-=-lstdc++ LIBS+=-lsupc++" + +DEPENDS_prepend = "virtual/libqpe uicmoc-native " FILES_${PN} = "${palmtopdir}" |