What determines the build location "OE_DIR/tmp/work/*" ?
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
Quoted 14 lines · Ulf Samuelsson
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 definesFW_VERSIONwhich 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.
Quoted 4 lines
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.
PACKAGE_ARCH = "${MACHINE_ARCH}"
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]