From: Gary Thomas <gary@mlbassoc.com>
To: Yocto Project <yocto@yoctoproject.org>
Subject: Using PACKAGECONFIG
Date: Thu, 09 Apr 2015 07:45:47 -0600 [thread overview]
Message-ID: <5526828B.3080709@mlbassoc.com> (raw)
I'm trying to extend PACKAGECONFIG for a recipe (vlc). The
main recipe contains this:
PACKAGECONFIG ?= " live555"
PACKAGECONFIG[mad] = "--enable-mad,--disable-mad,libmad"
PACKAGECONFIG[a52] = "--enable-a52,--disable-a52,liba52"
PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack"
PACKAGECONFIG[live555] = "--enable-live555,--disable-live555,live555"
PACKAGECONFIG[libass] = "--enable-libass,--disable-libass,libass"
PACKAGECONFIG[mkv] = "--enable-mkv,--disable-mkv,libmatroska libebml"
PACKAGECONFIG[postproc] = "--enable-postproc,--disable-postproc,libpostproc"
PACKAGECONFIG[opencv] = "--enable-opencv,--disable-opencv,opencv"
PACKAGECONFIG[libva] = "--enable-libva --enable-avcodec,--disable-libva --disable-avcodec,libva libav"
I'd like to only add "libva" to the default, so I wrote this
in my local.conf:
PACKAGECONFIG_pn-vlc_append = " libva"
Inspecting it
$ bitbake vlc -e | grep ^PACKAGECONFIG
PACKAGECONFIG=" libva"
Oops. Just to be sure, I tried
PACKAGECONFIG_pn-vlc = "live555 libva"
which gives
$ bitbake vlc -e | grep ^PACKAGECONFIG
PACKAGECONFIG="live555 libva"
Note: I tried
PACKAGECONFIG_append_pn-vlc = " libva"
which does work. However, I've also used
PACKAGECONFIG_pn-chromium_append = " component-build"
for a different recipe that does work... VERY CONFUSED
What am I doing wrong? How do I correctly add to the default list?
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
next reply other threads:[~2015-04-09 13:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-09 13:45 Gary Thomas [this message]
2015-04-09 14:16 ` Using PACKAGECONFIG Paul Eggleton
2015-04-09 14:22 ` Paul Eggleton
2015-04-09 14:35 ` Gary Thomas
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=5526828B.3080709@mlbassoc.com \
--to=gary@mlbassoc.com \
--cc=yocto@yoctoproject.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.