Hello, I am trying to follow the steps from https://wiki.yoctoproject.org/wiki/TipsAndTricks/Incorporating_closed_source_components and created two recipes. A "source recipe" and a "binary recipe".
hello-world.bb ######################################################################### SUMMARY = "proprietary hello world - source recipe" LICENSE = "CLOSED" LIC_FILES_CHKSUM = "file://LICENSE;md5=e34ec694bef2a551fa384c1d1e6748c1" inherit cmake PV = "1.0.0" SRC_URI = "https://<src-server>/hello-world-src.tar.gz;subdir=${PN}" S = "${WORKDIR}/${PN}" ######################################################################### This recipe creates the following packages with their content hello-world-1.0.0-r0.cortexa9hf_neon.rpm -> /usr/bin/helloworld hello-world-dbg-1.0.0-r0.cortexa9hf_neon.rpm -> /usr/bin/.debug/helloworld && /usr/src/debug/hello-world/1.0.0-r0/hello-world.c hello-world-dev-1.0.0-r0.cortexa9hf_neon.rpm -> nothing (correct in this example) hello-world-lic-1.0.0-r0.cortexa9hf_neon.rpm -> /usr/share/licences/hello-world/LICENSE hello-world-bin.bb ######################################################################### SUMMARY = "proprietary hello world - binary recipe" LICENSE = CLOSED PV = "1.0.0" SRC_URI = "https://<artefact-server>/hello-world-1.0.0-r0.cortexa9hf_neon.rpm;subdir=${PN}" S = "${WORKDIR}/${PN}" INSANE_SKIP_${PN} = "already-stripped" ######################################################################### This recipe creates the following packages with their content hello-world-bin-1.0.0-r0.cortexa9hf_neon.rpm -> /usr/bin/helloworld hello-world-bin-dbg-1.0.0-r0.cortexa9hf_neon.rpm -> nothing hello-world-bin-dev-1.0.0-r0.cortexa9hf_neon.rpm -> nothing hello-world-bin-lic-1.0.0-r0.cortexa9hf_neon.rpm -> nothing So far so good, but I wonder how the lic and dev packages also could be installed in the binary recipe, so that hello-world-bin-lic* package includes the license file from hello-world-lic* package, etc. Or at least that hello-world-bin-1.0.0-r0.cortexa9hf_neon.rpm includes all three of them (binary, lic and dev), if someone wants to provide everything except the source files. I guess there is a proper way to do this. Thank you for your help -- Markus Fuchs <markus.fu...@br-automation.com> -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto