From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f65.google.com (mail-oi0-f65.google.com [209.85.218.65]) by mail.openembedded.org (Postfix) with ESMTP id 7959F747EB for ; Mon, 7 May 2018 23:43:02 +0000 (UTC) Received: by mail-oi0-f65.google.com with SMTP id w123-v6so17796460oia.4 for ; Mon, 07 May 2018 16:43:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=L8Ueqzte/IInFTjQM6HS7fOTE+xI9Y+P6UaxINrlTKQ=; b=cdXHgLw/c4SluIRUCD5Au4bOgfhIshR+LWiegzSbDZL54Yvh8LXLvON7FhqwYojSeN uDmgO8vUqgCKUCbs06g2ofgenteripJGMPJk+BZxjuxsuVDekI1o0owNH+PvntP3lcs8 34Hp5wzy02s92vDVxkbpPpU7Me/+HntH6yoU4w0dcCWqiQsUHdvcu50n91hCnzzZbxJl t2F5WJUJm3UXy1AeFGAkHEQDhVu696DKA2iFLZhc1dRZw62LSKYg8tfmRp4Rxj+qF7yV bGZGQQ7ffo6UXsEnaHiIm4s08gaBJNq7LAP9kfdUQi22T2DS1AoHH5SEipUvbQR2jczH xdxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=L8Ueqzte/IInFTjQM6HS7fOTE+xI9Y+P6UaxINrlTKQ=; b=ok5Ip2ByTPnKi4l44eAdlwIkb5TMHwjYauMamZxR7frIetEQ/llGGR97ykSllGpQPK vHDmUdkNo+pEG+9HMnjMJnA+YQW8WE5sROrPtkKUdZ9d8idyIe9Onk0DEsGeACUxUkdR ql3k+qeuvpT+1K7CfFZLKAE17IxHhR8dkJDrG6JjWYa+IZVMxNJYuULZWhUp7/d8HmOS UgA5dxq1NlIu/03WD7eKpunMWMB0Q3Jm4Czq9qRax/5deL95Sq/AZr8IVhlFHiiOszf0 qhFDyDC2Am1qaoy4ikDWc4cjwp1x2enNvASJWGmF1+ZUQoqPh4b+XMVu1MGe5zKfBBoU TEtA== X-Gm-Message-State: ALQs6tCJF/l31JMQmYzUEfe+VpLYrJkn4cJmoaC6HdZkz678x5PVipYB WCypMIRgRPiUQyK+jMgfBXRyrTcummsX7bNeDXs= X-Google-Smtp-Source: AB8JxZrmvliZDeVmbrhe4XFRHhxUm2lw8QVzpEa3Rh+n4t+pHZAIi6l5AteY1RdiqjlwXaP6IF3TP0/xit2JyHWT8Xg= X-Received: by 2002:aca:dd46:: with SMTP id u67-v6mr22577150oig.355.1525736583475; Mon, 07 May 2018 16:43:03 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Joshua Watt Date: Mon, 07 May 2018 23:42:53 +0000 Message-ID: To: C Michael Sundius Cc: OE-core Subject: Re: sdk X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 May 2018 23:43:04 -0000 Content-Type: multipart/alternative; boundary="000000000000143604056ba63b08" --000000000000143604056ba63b08 Content-Type: text/plain; charset="UTF-8" On Mon, May 7, 2018, 17:26 C Michael Sundius wrote: > Hi All, > > I've been scratching my head all day about why I can build my recipe under > bitbake, but whne I try to build w/ the SDK I create w/ bitbake -c > populate_sdk it cant find the headers for the libraries that I > depend upon. > > somehow when I create the sdk, it does not include the header files for > the dependent libs. I see the .so files in the sysroot, but I don't see any > of the header files. > > I don't see any of the headers for libxml2, or the other libs.. those are > simply standard recipes from yocto. > > any thoughts what am i doing wrong? > Maybe "dev-pkgs" was accidentally removed from SDKIMAGE_FEATURES? > ----------------------- > inherit abc-cmake > inherit pkgconfig > inherit systemd > > EXTRA_OECMAKE_append = "\ > -DENABLE_SYSTEMD=ON \ > -DENABLE_API=ON \ > -DENABLE_CONFIG=ON \ > -DENABLE_UNITTEST=ON \ > -DENABLE_TUNCTL=ON \ > -DENABLE_WATCHDOG=ON \ > -DENABLE_AESNI=ON \ > -DFORCE_ALIGNMENT=OFF \ > -DENABLE_TRACE=OFF \ > -DENABLE_TUNING=OFF \ > " > > EXTRA_OECMAKE_append_abc-dev = " -DENABLE_TRACE=ON" > EXTRA_OECMAKE_append_abc-dbg = " -DENABLE_TUNING=ON" > > LIC_FILES_CHKSUM = "file://COPYING;md5=8b5f7a1e89273c8fd243ca57ad73e483" > > SRC_URI += "file://myprog.service" > SRC_URI += "file://myprog.conf" > > SYSTEMD_SERVICE_${PN} = "myprog.service" > SYSTEMD_AUTO_ENABLE_${PN} = "enable" > > do_install_append () { > #install systemd service file > install -d ${D}${systemd_system_unitdir} > install -m 0644 ${WORKDIR}/udpf.service > ${D}${systemd_system_unitdir} > > #install tmpfiles.d configuration file > install -d ${D}${sysconfdir}/tmpfiles.d > install -m 0644 ${WORKDIR}/udpf.conf ${D}${sysconfdir}/tmpfiles.d/ > } > > > PACKAGES =+ "${PN}-utilities ${PN}-samples ${PN}-conf" > > FILES_${PN} += "${sbindir}/dpfd" > FILES_${PN}-dev += "\ > ${sbindir}/segtest \ > ${sbindir}/ttest \ > ${sbindir}/workq \ > " > FILES_${PN}-utilities += "${sbindir}/tunctl ${sbindir}/tapctl" > FILES_${PN}-samples += "${datadir}/*" > FILES_${PN}-conf += "${sysconfdir}/dpf/*" > > RDEPENDS_${PN}-samples += "python" > DEPENDS = "libxml2 libevent nss systemd concurrencykit netmap" > RDEPENDS_${PN} = "libxml2 libevent nss systemd python-core > kernel-module-tun netmap" > RDEPENDS_${PN} += "libxml2 libevent nss-dev systemd python-core > kernel-module-tun netmap" > > -- > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core > --000000000000143604056ba63b08 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


= On Mon, May 7, 2018, 17:26 C Michael Sundius <msundius@sundius.com> wrote:
Hi All,

I've be= en scratching my head all day about why I can build my recipe under bitbake= , but whne I try to build w/ the SDK I create w/ bitbake -c populate_sdk &l= t;my-image> it cant find the headers for the libraries that I depend upo= n.

somehow when I create the sdk, it does not include th= e header files for the dependent libs. I see the .so files in the sysroot, = but I don't see any of the header files.

I don't= see any of the headers for libxml2,=C2=A0 or the other libs.. those are si= mply standard recipes from yocto.

any thoughts= what am i doing wrong?

Maybe=C2=A0 "dev-pkgs" was accidentally removed from SDKIMAGE_FEATURES?


------------= -----------
inherit abc-cmake
inherit pkgconfig
inherit systemd
EXTRA_OECMAKE_append =3D "\
=C2=A0=C2=A0=C2=A0 -DENABLE_SYSTEM= D=3DON \
=C2=A0=C2=A0=C2=A0 -DENABLE_API=3DON \
=C2=A0=C2=A0=C2=A0 -D= ENABLE_CONFIG=3DON \
=C2=A0=C2=A0=C2=A0 -DENABLE_UNITTEST=3DON \
=C2= =A0=C2=A0=C2=A0 -DENABLE_TUNCTL=3DON \
=C2=A0=C2=A0=C2=A0 -DENABLE_WATCH= DOG=3DON \
=C2=A0=C2=A0=C2=A0 -DENABLE_AESNI=3DON \
=C2=A0=C2=A0=C2= =A0 -DFORCE_ALIGNMENT=3DOFF \
=C2=A0=C2=A0=C2=A0 -DENABLE_TRACE=3DOFF \<= br>=C2=A0=C2=A0=C2=A0 -DENABLE_TUNING=3DOFF \
"

EXTRA_OECMAK= E_append_abc-dev =3D " -DENABLE_TRACE=3DON"
EXTRA_OECMAKE_appe= nd_abc-dbg =3D " -DENABLE_TUNING=3DON"

LIC_FILES_CHKSUM = =3D "file://COPYING;md5=3D8b5f7a1e89273c8fd243ca57ad73e483"
SRC_URI +=3D "file://myprog.service"
SRC_URI +=3D "file= ://myprog.conf"

SYSTEMD_SERVICE_${PN} =3D "myprog.service&= quot;
SYSTEMD_AUTO_ENABLE_${PN} =3D "enable"

do_install= _append () {
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 #install systemd= service file
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 install -d ${D}= ${systemd_system_unitdir}
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ins= tall -m 0644 ${WORKDIR}/udpf.service ${D}${systemd_system_unitdir}

= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 #install tmpfiles.d configuratio= n file
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 install -d ${D}${sysco= nfdir}/tmpfiles.d
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 install -m = 0644 ${WORKDIR}/udpf.conf ${D}${sysconfdir}/tmpfiles.d/
}


PAC= KAGES =3D+ "${PN}-utilities ${PN}-samples ${PN}-conf"

FILE= S_${PN} +=3D "${sbindir}/dpfd"
FILES_${PN}-dev +=3D "\=C2=A0=C2=A0=C2=A0 ${sbindir}/segtest \
=C2=A0=C2=A0=C2=A0 ${sbindir}/t= test \
=C2=A0=C2=A0=C2=A0 ${sbindir}/workq \
"
FILES_${PN}-ut= ilities +=3D "${sbindir}/tunctl ${sbindir}/tapctl"
FILES_${PN}= -samples +=3D "${datadir}/*"
FILES_${PN}-conf +=3D "${sys= confdir}/dpf/*"

RDEPENDS_${PN}-samples +=3D "python"<= br>DEPENDS =3D "libxml2 libevent nss systemd concurrencykit netmap&quo= t;
RDEPENDS_${PN} =3D "libxml2 libevent nss systemd python-core ker= nel-module-tun netmap"
RDEPENDS_${PN} +=3D "libxml2 libevent n= ss-dev systemd python-core kernel-module-tun netmap"

--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded= .org/mailman/listinfo/openembedded-core
--000000000000143604056ba63b08--