summaryrefslogtreecommitdiff
path: root/classes/palmtop.bbclass
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2006-04-25 15:04:04 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-04-25 15:04:04 +0000
commit20233c3d1763462a908c7331713f055e53a2a4fd (patch)
tree4fbabe2408262651ddf3d29a5dc84b13041accbd /classes/palmtop.bbclass
parentcff527eed5ac762b811f504753c21a797a12d475 (diff)
palmtop.bbclass: add a special case for sharprom compatible distros -- gcc 2.95 has no idea about libsupc++
Diffstat (limited to 'classes/palmtop.bbclass')
-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')]}"