[oe-commits] org.oe.dev opie-pics: Use @base_conditional() instead of doubel indirection for GUI_MACHINE_CLASS testing.

pfalcon commit openembedded-commits at lists.openembedded.org
Thu Jan 11 02:06:58 UTC 2007


opie-pics: Use @base_conditional() instead of doubel indirection for GUI_MACHINE_CLASS testing.

Author: pfalcon at openembedded.org
Branch: org.openembedded.dev
Revision: 570b67d0bb7061e608a6e7b8e6bca96baf10d819
ViewMTN: http://monotone.openembedded.org/revision.psp?id=570b67d0bb7061e608a6e7b8e6bca96baf10d819
Files:
1
packages/opie-pics/opie-pics.inc
Diffs:

#
# mt diff -re3e82037001345f7d82ee9eb435d0ce43c023a58 -r570b67d0bb7061e608a6e7b8e6bca96baf10d819
#
# 
# 
# patch "packages/opie-pics/opie-pics.inc"
#  from [88bd6926ace7fb2239d8daf3e765b03ae0628a5d]
#    to [1ecc300168247202290b9282efa85684efe3b653]
# 
============================================================
--- packages/opie-pics/opie-pics.inc	88bd6926ace7fb2239d8daf3e765b03ae0628a5d
+++ packages/opie-pics/opie-pics.inc	1ecc300168247202290b9282efa85684efe3b653
@@ -1,14 +1,13 @@ LICENSE = "GPL"
 DESCRIPTION = "Common Opie pictures usable from all applications"
 SECTION = "opie/base"
 PRIORITY = "optional"
 LICENSE = "GPL"
-PR = "r1"
+PR = "r2"
 
 S = "${WORKDIR}"
 
 SHIP_INLINE_PICS = "yes"
-INLINE_PICS_smallscreen = "pics/inline"
-INLINE_PICS_bigscreen = "pics-hires/inline"
+INLINE_PICS = '${@base_conditional("GUI_MACHINE_CLASS", "bigscreen", "pics-hires/inline", "pics/inline", d)}'
 
 do_install() {
 	install -d ${D}${palmtopdir}/pics/addressbook/
@@ -20,7 +19,7 @@ do_install() {
 	install -m 0664 pics/todo/*.png ${D}${palmtopdir}/pics/todo/	
 
 	if [ "${SHIP_INLINE_PICS}" == "yes" ]; then
-		install -m 0664 ${INLINE_PICS_${GUI_MACHINE_CLASS}}/*.png ${D}${palmtopdir}/pics/
+		install -m 0664 ${INLINE_PICS}/*.png ${D}${palmtopdir}/pics/
 	fi
 }
 






More information about the Openembedded-commits mailing list