as a short followup to my earlier note about creating a bunch of
externalsrc-based recipes to demonstrate their proper structure, it's
easy to add the recipe files to a layer, but i then realized i needed
to figure out where to put the corresponding source, and how i would
refer to it with the EXTERNALSRC variable, and after some thought, it
occurred that the simplest solution is to simply put the source in a
"src" subdirectory next to the recipe itself, and use:

  inherit externalsrc

  EXTERNALSRC = "${THISDIR}/src"
  EXTERNALSRC_BUILD = "${EXTERNALSRC}"

yes, i know this is hacky, but it demonstrates the process, and there
seems to be nothing magic about having the source right there, and all
of the standard bitbake tasks -- including cleaning -- seem to work
properly.

  aside from looking weird, is there anything about this that wouldn't
work?

rday
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#152371): 
https://lists.openembedded.org/g/openembedded-core/message/152371
Mute This Topic: https://lists.openembedded.org/mt/83147632/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to