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 the default PACKAGE_ARCH, and some use MACHINE_ARCH. This is very common with OpenGL and hardware acceleration. Mesa for instance becomes machine dependent on some systems, but generic for others. --Mark On 6/16/21 11: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 under both directories: > > * cortexa53... > * acme-coyote [actual target board] > > this surprises me ... i thought that, based on the attributes of any > recipe, it would have only one WORKDIR in the appropriate place. what > does the above mean? i'm not sure what to make of it. > > rday > > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#153028): https://lists.openembedded.org/g/openembedded-core/message/153028 Mute This Topic: https://lists.openembedded.org/mt/83584601/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-