From: Michael Lauer Date: Wed, 13 Jul 2005 09:22:14 +0000 (+0000) Subject: opie-collections: repair gathering OPIE_MORE_RDEPENDS depending on ROOT_FLASH_SIZE X-Git-Tag: Release-2010-05/1~9453^2~4165^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01fd94b639c82d3c1c571c3b6840fec37aea5e7a;p=openembedded.git opie-collections: repair gathering OPIE_MORE_RDEPENDS depending on ROOT_FLASH_SIZE --- diff --git a/packages/meta/opie-collections.inc b/packages/meta/opie-collections.inc index c2d15dee58..60cc77356a 100644 --- a/packages/meta/opie-collections.inc +++ b/packages/meta/opie-collections.inc @@ -93,14 +93,10 @@ def opie_more_depends(d): else: return " " def opie_more_rdepends(d): - import bb - root_flash_size = int( bb.data.getVar( "ROOT_FLASH_SIZE", d, True ) or "16" ) - if root_flash_size >= 24: return bb.data.getVar( "OPIE_RDEPENDS_24", d, True ) - else: return " " + import bb + root_flash_size = int( bb.data.getVar( "ROOT_FLASH_SIZE", d, True ) or "16" ) + if root_flash_size >= 24: return bb.data.getVar( "OPIE_RDEPENDS_24", d, True ) + else: return " " OPIE_MORE_DEPENDS := "${@opie_more_depends(d)}" - - - - -# # OPIE_MORE_RDEPENDS := "${@opie_more_rdepends(d)}" +OPIE_MORE_RDEPENDS := "${@opie_more_rdepends(d)}"