[OE-core] should the same recipe have two different WORKDIRs?

2021-06-16 Thread Robert P. J. Day
perhaps i've just never noticed before, but a colleague asked me to debug some strangeness with his WRLinux build, and what i noticed was that the recipe that generated a package with a single (aarch64) executable created WORKDIRs under both directories: * cortexa53... * acme-coyote

Re: [OE-core] should the same recipe have two different WORKDIRs?

2021-06-16 Thread Mark Hatle
Part of the WORKDIR component is the target (package) architecture. If the recipe or one of it's inherits sets PACKAGE_ARCH = "${MACHINE_ARCH}" it will move the component. Where I've seen both directories used is when someone is building for multiple target boards.. and some of the targets use th

Re: [OE-core] should the same recipe have two different WORKDIRs?

2021-06-16 Thread Andre McCurdy
On Wed, Jun 16, 2021 at 9:30 AM Robert P. J. Day wrote: > perhaps i've just never noticed before, but a colleague asked me to > debug some strangeness with his WRLinux build, and what i noticed was > that the recipe that generated a package with a single (aarch64) > executable created WORKDIRs u