[OE-core] [pull-oe-uboot 1/2] u-boot: remove UBOOT_MACHINE and COMPATIBLE_MACHINES

Chris Larson clarson at kergoth.com
Thu May 26 14:08:55 UTC 2011


On Thu, May 26, 2011 at 6:50 AM, Darren Hart <dvhart at linux.intel.com> wrote:
>>> -UBOOT_MACHINE ?= "${MACHINE}_config"
>>> +python () {
>>> +    if not bb.data.getVar('UBOOT_MACHINE', d, 1):
>>> +        bb.debug("To build %s, see u-boot_git.bb for instructions on \
>>
>> If this file was renamed, don't you also want to update this printout?
>
> Oh, tricky. This should be addressed in the 2/2 patch.... but what to
> name it too. Do I have access to the filename of the recipe that
> included this one, causing this code to run? Perhaps I should move the
> instructions into this .inc file since the u-boot_*.bb recipe name will
> change over time if my 2/2 patch is accepted?
>

FILE should refer to the recipe, if it's not evaluated until the end
of the parse process, so I expect you could just use it in the
anonymous python snippet. Would definitely want to confirm that though
:)
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics




More information about the Openembedded-core mailing list