diff options
| author | Richard Purdie <richard@openedhand.com> | 2006-05-09 16:10:46 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2006-05-09 16:10:46 +0000 |
| commit | 189b9a916b845c90db5e51f62496a13f60936d36 (patch) | |
| tree | e9227d9f63eea070317afffd41cbcdfed018753f /openembedded/classes/palmtop.bbclass | |
| parent | 8d41bd1c8f4c36ed9c1c73e0586031af8a0f292c (diff) | |
| download | poky-189b9a916b845c90db5e51f62496a13f60936d36.tar.gz | |
Sync bbclass files with OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@374 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/classes/palmtop.bbclass')
| -rw-r--r-- | openembedded/classes/palmtop.bbclass | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/openembedded/classes/palmtop.bbclass b/openembedded/classes/palmtop.bbclass index 523c3d71bb..9d54de8748 100644 --- a/openembedded/classes/palmtop.bbclass +++ b/openembedded/classes/palmtop.bbclass | |||
| @@ -1,10 +1,20 @@ | |||
| 1 | # basically a placeholder for something more fancy | 1 | # this build class sets up qmake variables to |
| 2 | # for now, just declare some things | 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 | ||
| 3 | 9 | ||
| 4 | inherit qmake | 10 | inherit qmake |
| 5 | 11 | ||
| 6 | EXTRA_QMAKEVARS_POST_append = " DEFINES+=QWS LIBS+=-lqpe CONFIG+=qt LIBS-=-lstdc++ LIBS+=-lsupc++" | 12 | # special case for DISTRO = sharprom |
| 7 | 13 | CPP_SUPPORT_LIB = "LIBS-=-lstdc++ LIBS+=-lsupc++" | |
| 8 | DEPENDS_prepend = "virtual/libqpe uicmoc-native " | 14 | CPP_SUPPORT_LIB_sharprom = "LIBS-=-lstdc++" |
| 15 | EXTRA_QMAKEVARS_POST += "DEFINES+=QWS CONFIG+=qt ${CPP_SUPPORT_LIB}" | ||
| 16 | EXTRA_QMAKEVARS_POST += '${@base_conditional("PALMTOP_USE_MULTITHREADED_QT", "yes", "CONFIG+=thread", "CONFIG-=thread",d)}' | ||
| 17 | EXTRA_QMAKEVARS_POST += "${@["LIBS+=-lqpe ", ""][(bb.data.getVar('PN', d, 1) == 'libqpe-opie')]}" | ||
| 18 | DEPENDS_prepend = "${@["virtual/libqpe1 uicmoc-native ", ""][(bb.data.getVar('PN', d, 1) == 'libqpe-opie')]}" | ||
| 9 | 19 | ||
| 10 | FILES_${PN} = "${palmtopdir}" | 20 | FILES_${PN} = "${palmtopdir}" |
