<div dir="ltr"><div>Hello,</div><div><br></div><div>Say a company works with an OE internal tree, with open-source and closed-source packages. The company wants to release the tree so that its customers can fully customize the images/distro. The closed sources being only available internally, the company has to generate and handle prebuilt binaries for proprietary packages. Ideally, with a unified public/internal OE tree (same recipes for internal/public build). <br></div><div></div><div><br></div><div>This question is actually similar to an older thread:<br></div><div><a href="https://marc.info/?l=openembedded-core&amp;m=146779329804683" target="_blank">https://marc.info/?l=openembedded-core&amp;m=146779329804683</a></div><div><br></div><div></div><div>I started to work on this and added a &#39;generate-prebuilt&#39; class which generates a tarball of ${D} in deploy/prebuilts after do_install task. Symmetrically, It&#39;s also possible to create an &#39;install-prebuilt&#39; class which bypasses do_fetch, do_unpack, ..., do_install with noexec flag and instead uncompresses a previously generated prebuilt tarball into ${D} and continue normally. But I would like something smarter, e.g. first trying to check if the SRC_URI is available, if not switching on using the prebuilt package if available (e.g. in a DIR_PREBUILT)...</div><div><br></div><div>Before going further is there already an existing solution for that? do you have any recommendation on the easier/best way to achieve this?<br></div><div><br></div><div>Regards,</div><div>Loic<br></div></div>