diff options
| author | Anuj Mittal <anuj.mittal@intel.com> | 2018-03-15 13:38:56 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-20 09:59:31 +0000 |
| commit | 41163179d4e5b69eb616284dd8b8f51c287d700b (patch) | |
| tree | 6fd0d5b2ee6aa91f7ee5121bdbe2f287ce89bb44 /meta/recipes-devtools/python | |
| parent | f2103873bd100f8dae868c15371993a3316bf564 (diff) | |
| download | poky-41163179d4e5b69eb616284dd8b8f51c287d700b.tar.gz | |
python3: add readline to PACKAGECONFIG
Provide a way to make readline dependency optional in case someone
might want to use BSD alternative editline instead.
Using editline would need some changes though (python issue13501).
(From OE-Core rev: 9b12a3f031373ad0696409e4f933b1a585ea7f1f)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python')
| -rw-r--r-- | meta/recipes-devtools/python/python3_3.5.5.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python3_3.5.5.bb b/meta/recipes-devtools/python/python3_3.5.5.bb index 8150dd6997..d458d32e60 100644 --- a/meta/recipes-devtools/python/python3_3.5.5.bb +++ b/meta/recipes-devtools/python/python3_3.5.5.bb | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | require recipes-devtools/python/python.inc | 1 | require recipes-devtools/python/python.inc |
| 2 | 2 | ||
| 3 | DEPENDS = "python3-native libffi bzip2 gdbm openssl readline sqlite3 zlib virtual/libintl xz" | 3 | DEPENDS = "python3-native libffi bzip2 gdbm openssl sqlite3 zlib virtual/libintl xz" |
| 4 | 4 | ||
| 5 | PR = "${INC_PR}.0" | 5 | PR = "${INC_PR}.0" |
| 6 | PYTHON_MAJMIN = "3.5" | 6 | PYTHON_MAJMIN = "3.5" |
| @@ -76,6 +76,9 @@ export CROSSPYTHONPATH = "${STAGING_LIBDIR_NATIVE}/python${PYTHON_MAJMIN}/lib-dy | |||
| 76 | # No ctypes option for python 3 | 76 | # No ctypes option for python 3 |
| 77 | PYTHONLSBOPTS = "" | 77 | PYTHONLSBOPTS = "" |
| 78 | 78 | ||
| 79 | PACKAGECONFIG ??= "readline" | ||
| 80 | PACKAGECONFIG[readline] = ",,readline" | ||
| 81 | |||
| 79 | do_configure_append() { | 82 | do_configure_append() { |
| 80 | rm -f ${S}/Makefile.orig | 83 | rm -f ${S}/Makefile.orig |
| 81 | autoreconf -Wcross --verbose --install --force --exclude=autopoint ../Python-${PV}/Modules/_ctypes/libffi | 84 | autoreconf -Wcross --verbose --install --force --exclude=autopoint ../Python-${PV}/Modules/_ctypes/libffi |
