On Tue, 8 Nov 2022 at 23:59, Richard Purdie <[email protected]> wrote: > This made me wonder if we shouldn't have a better way of handling this. > I was wondering if we should have a sysroot_stage_file function (like > sysroot_stage_dir) and then we could do something like: > > sysroot_stage_all:append() { > sysroot_stage_file ${D}/${bindir}/python3-config > ${SYSROOT_DESTDIR}/${bindir}/python3-config > } > > Note that the sysroot code plays with hardlinks for efficiency, I > appreciate one file doesn't really matter though. > > I was hoping we could have just added to SYSROOT_DIRS but that does > only handle dirs, not files.
Wouldn't sysroot_stage_file be just syntactic sugar though? I'm fine with just running 'install' directly in sysroot_stage_all:append(), especially as it's more self-explanatory that way. Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#173017): https://lists.openembedded.org/g/openembedded-core/message/173017 Mute This Topic: https://lists.openembedded.org/mt/94867622/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
