summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2006-04-25 18:50:58 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-04-25 18:50:58 +0000
commit276625340e2e1a0a083f59b7e4b82185de3edfce (patch)
treee626067979c535bf2e437839d039ccb6376e9d49 /classes
parentf6ddfcecd7d51472af0126e9d764c9f7c809ef03 (diff)
parent03978ed0dbd7b718171cfe8605b65ea4da20a146 (diff)
merge of 21858366d3f1cd69225dc0db2af6109cdd227145
and caff9d7758bbac1a8819824a3d56cef092f94ca8
Diffstat (limited to 'classes')
-rw-r--r--classes/palmtop.bbclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/classes/palmtop.bbclass b/classes/palmtop.bbclass
index 7c65271b91..9d54de8748 100644
--- a/classes/palmtop.bbclass
+++ b/classes/palmtop.bbclass
@@ -9,7 +9,10 @@
inherit qmake
-EXTRA_QMAKEVARS_POST += "DEFINES+=QWS CONFIG+=qt LIBS-=-lstdc++ LIBS+=-lsupc++"
+# 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')]}"