* What determines the build location "OE_DIR/tmp/work/*" ?
@ 2013-01-18 21:30 Ulf Samuelsson
2013-01-18 21:46 ` Martin Jansa
0 siblings, 1 reply; 2+ messages in thread
From: Ulf Samuelsson @ 2013-01-18 21:30 UTC (permalink / raw)
To: openembedded-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: What determines the build location "OE_DIR/tmp/work/*" ?
2013-01-18 21:30 What determines the build location "OE_DIR/tmp/work/*" ? Ulf Samuelsson
@ 2013-01-18 21:46 ` Martin Jansa
0 siblings, 0 replies; 2+ messages in thread
From: Martin Jansa @ 2013-01-18 21:46 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 993 bytes --]
On Fri, Jan 18, 2013 at 10:30:01PM +0100, Ulf Samuelsson wrote:
> 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.
PACKAGE_ARCH = "${MACHINE_ARCH}"
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-01-18 22:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-18 21:30 What determines the build location "OE_DIR/tmp/work/*" ? Ulf Samuelsson
2013-01-18 21:46 ` Martin Jansa
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.