[oe] Finding out the IMAGE_BASENAME of the image beeing built

Ulf Samuelsson openembedded at emagii.com
Sat Mar 30 12:32:51 UTC 2013


Trying create a programming script recipe and need to find out the 
IMAGE_BASENAME of the bitbake target
so I can get the filename of the image

${MACHINE}-${IMAGE_BASENAME}.ubi

I.E: if I do

$ MACHINE=beagleboard  bitbake some-image

and "some-image_1.0.bb" contains

IMAGE_BASENAME = "renamed-image"

Then the resulting image will be

     "beagleboard-renamed-image.ubi"

How get this info from another recipe?

BR
Ulf Samuelsson





More information about the Openembedded-devel mailing list