gdb: add PACKAGECONFIG for babeltrace
cover gdb: add PACKAGECONFIG for babeltrace
The following changes since commit 23521fccb122b64f3469d46176f73fe476b0dfc5:
gstreamer1.0-plugins-good: add libxfixes and libxdamange to x11 depends (2014-05-11 13:07:36 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib ChenQi/gdb-babeltrace
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/gdb-babeltrace
Chen Qi (1):
gdb: add PACKAGECONFIG for babeltrace
meta/recipes-devtools/gdb/gdb_7.7.bb | 1 + 1 file changed, 1 insertion(+)
Signature · 1 line
1.7.9.5
PATCH 1/1 gdb: add PACKAGECONFIG for babeltrace
Add PACKAGECONFIG for 'babeltrace' so that we don't have the implicit dependency which might lead to problems when building images.
As an example of showing what problem we might have without this patch, see the following steps which would lead to a failure.
1. IMAGE_INSTALL_append = " gdb"
2. bitbake babeltrace
3. bitbake gdb
4. bitbake babeltrace -ccleansstate
5. bitbake core-image-minimal
The rootfs process would fail with the following error message.
error: Can't install gdb-7.7-r0@i586: no package provides babeltrace >= 1.2.1+git0+66c2a20b43
--- meta/recipes-devtools/gdb/gdb_7.7.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-devtools/gdb/gdb_7.7.bb +1 -0
@@ -5,6 +5,7 @@ inherit python-dir PACKAGECONFIG ??= "" PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python" +PACKAGECONFIG[babeltrace] = "--with-babeltrace,--without-babeltrace,babeltrace" do_configure_prepend() { if [ -n "${@bb.utils.contains('PACKAGECONFIG', 'python', 'python', '', d)}" ]; then
Signature · 1 line
1.7.9.5