[oe] What determines the build location "OE_DIR/tmp/work/*" ?

Ulf Samuelsson openembedded at emagii.com
Fri Jan 18 21:30:01 UTC 2013


I am building a driver which will load firmware at runtime.
For development purposes, I have defined two machines,
which will be used to build two different versions of the driver.

Have a separate recipe for the firmware.
Each machine defines FW_VERSION which is used to select
a subtree containing the firmware, so the same recipe is used for both 
machines.

The driver gets built in "$OE_DIR/tmp/work/<machine>-angstrom-linux/gnueabi"
but the firmware gets built in "$OE_DIR/tmp/work/armv7a-none-linux-gnueabi".
This means that the same tree is used for both machines,
which of course does not work.

Is there a way to define that the recipe should be built in
"$OE_DIR/tmp/work/<machine>-angstrom-linux/gnueabi"?

Otherwise, I guess I have to use two different recipes.


BR
Ulf Samuelsson




More information about the Openembedded-devel mailing list