[yocto] Cap'n Proto Recipe Help

Finn Carlsvi finncarlsvi at gmail.com
Tue Oct 13 12:55:48 PDT 2015


Thanks Ross,

I was trying to spare you the wall of text, but your right, it's best to
share the whole recipe. The file name is *capnproto_0.5.3.bb
<http://capnproto_0.5.3.bb>*

############################################################
LICENSE = "Unknown"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=0a5b5b742baf10cc1c158579eba7fb1d
\

file://gtest/LICENSE;md5=cbbd27594afd089daa160d3a16dd515a"

INSANE_SKIP_${PN} += "install-host-path"
INSANE_SKIP_${PN} += "installed-vs-shipped"

SRC_URI = "https://capnproto.org/capnproto-c++-${PV}.tar.gz"
SRC_URI[md5sum] = "d6c91a9129457fe5893302cd92e09324"
SRC_URI[sha256sum] =
"cdb17c792493bdcd4a24bcd196eb09f70ee64c83a3eccb0bc6534ff560536afb"

PACKAGES = "${PN}"

S = "${WORKDIR}/capnproto-c++-${PV}"

inherit cmake

# Specify any options you want to pass to cmake using EXTRA_OECMAKE:
EXTRA_OECMAKE = ""

do_configure() {
    export CAPNP=/usr/local/bin/capnp
    ${S}/configure --with-external-capnp -build=x86_64-linux
--host=arm-poky-linux-gnueabi --target=arm-poky-linux-gnueabi
}
############################################################

Cheers
Finn

On Tue, Oct 13, 2015 at 12:26 PM, Burton, Ross <ross.burton at intel.com>
wrote:

>
> On 13 October 2015 at 20:13, Finn Carlsvi <finncarlsvi at gmail.com> wrote:
>
>> I noticed that I have the cross compiled version of capnproto (capnp) in
>> the images folder in my work directory, but the packages-split/capnproto
>> directory is empy.
>>
>
> Sharing the recipe makes helping a lot easier.  Have a look in the
> work/deploy-* directories to see what packages were actually created.
>
> But FYI, upstream software which needs to build and run software to build
> are generally a pain to package.
>
> Ross
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20151013/6e98191b/attachment.html>


More information about the yocto mailing list