All of lore.kernel.org
 help / color / mirror / Atom feed
From: C Michael Sundius <msundius@sundius.com>
To: openembedded-core@lists.openembedded.org
Subject: sdk
Date: Mon, 7 May 2018 18:26:10 -0400	[thread overview]
Message-ID: <CAGVhguEEi7uE2HZQoDj_4puDZ+44j5RhJSvsHFCc4cQcobMvxA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2285 bytes --]

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 <my-image> 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?

-----------------------
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"

[-- Attachment #2: Type: text/html, Size: 2784 bytes --]

             reply	other threads:[~2018-05-07 22:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-07 22:26 C Michael Sundius [this message]
2018-05-07 23:42 ` sdk Joshua Watt
  -- strict thread matches above, loose matches on Subject: below --
2015-11-14 14:27 SDK Martin Townsend
2015-11-16 18:25 ` SDK Bryan Evenson
2015-11-16 21:49   ` SDK Martin Townsend

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAGVhguEEi7uE2HZQoDj_4puDZ+44j5RhJSvsHFCc4cQcobMvxA@mail.gmail.com \
    --to=msundius@sundius.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.