diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2014-05-13 10:54:26 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-13 19:32:06 +0100 |
commit | 579964a43827a81c3d83d84da156c32e62b62ae5 (patch) | |
tree | a140e480bcbadd076328e97cb8645ad3d1dbb60c /meta/recipes-devtools | |
parent | c989c6f3c227cc2062a7f76f93b1d0ce5bb7ff78 (diff) | |
download | poky-579964a43827a81c3d83d84da156c32e62b62ae5.tar.gz |
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
(From OE-Core rev: 3c34d9391136b09bc2e7b0bda6cdc96507845c4b)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/gdb/gdb_7.7.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gdb/gdb_7.7.bb b/meta/recipes-devtools/gdb/gdb_7.7.bb index c7ca26b9c1..1abc9d8e76 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 | |||
5 | 5 | ||
6 | PACKAGECONFIG ??= "" | 6 | PACKAGECONFIG ??= "" |
7 | PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python" | 7 | PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python" |
8 | PACKAGECONFIG[babeltrace] = "--with-babeltrace,--without-babeltrace,babeltrace" | ||
8 | 9 | ||
9 | do_configure_prepend() { | 10 | do_configure_prepend() { |
10 | if [ -n "${@bb.utils.contains('PACKAGECONFIG', 'python', 'python', '', d)}" ]; then | 11 | if [ -n "${@bb.utils.contains('PACKAGECONFIG', 'python', 'python', '', d)}" ]; then |