From: Paul Sokolovsky Date: Thu, 11 Jan 2007 02:03:50 +0000 (+0000) Subject: opie-pics: Use @base_conditional() instead of doubel indirection for GUI_MACHINE_CLAS... X-Git-Tag: Release-2010-05/1~9405 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd58586ec141a282cd502acfe6aba9b343f29b09;p=openembedded.git opie-pics: Use @base_conditional() instead of doubel indirection for GUI_MACHINE_CLASS testing. --- diff --git a/packages/opie-pics/opie-pics.inc b/packages/opie-pics/opie-pics.inc index 78747b9147..1bd67a8077 100644 --- a/packages/opie-pics/opie-pics.inc +++ b/packages/opie-pics/opie-pics.inc @@ -2,13 +2,12 @@ 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 }