diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2007-01-11 02:03:50 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2007-01-11 02:03:50 +0000 |
commit | dd58586ec141a282cd502acfe6aba9b343f29b09 (patch) | |
tree | 0ba69080143d1964c7445888dfda5246811b5a45 | |
parent | 64cdee9c1cd6b12741ba7fda490a0be018858ed3 (diff) |
opie-pics: Use @base_conditional() instead of doubel indirection for GUI_MACHINE_CLASS testing.
-rw-r--r-- | packages/opie-pics/opie-pics.inc | 7 |
1 files changed, 3 insertions, 4 deletions
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 } |