[oe-commits] Chen Qi : gdb: add PACKAGECONFIG for babeltrace
git at git.openembedded.org
git at git.openembedded.org
Tue May 13 18:34:32 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: 3c34d9391136b09bc2e7b0bda6cdc96507845c4b
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=3c34d9391136b09bc2e7b0bda6cdc96507845c4b
Author: Chen Qi <Qi.Chen at windriver.com>
Date: Tue May 13 10:54:26 2014 +0800
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 at i586: no package provides babeltrace >= 1.2.1+git0+66c2a20b43
Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-devtools/gdb/gdb_7.7.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-devtools/gdb/gdb_7.7.bb b/meta/recipes-devtools/gdb/gdb_7.7.bb
index c7ca26b..1abc9d8 100644
--- a/meta/recipes-devtools/gdb/gdb_7.7.bb
+++ b/meta/recipes-devtools/gdb/gdb_7.7.bb
@@ -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
More information about the Openembedded-commits
mailing list