diff options
author | Mark Jonas <toertel@gmail.com> | 2020-12-12 16:05:32 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-04 11:45:47 +0000 |
commit | 5829cb869b3e7636bc400db6972695724ea80af2 (patch) | |
tree | 43ddcd51f39c0acce054a769aab3bfba5d669da6 /meta/recipes-extended | |
parent | 8c0bbcc2a53c90b93aa55738de36a0e91143ba35 (diff) | |
download | poky-5829cb869b3e7636bc400db6972695724ea80af2.tar.gz |
parted: Make readline dependency optional
(From OE-Core rev: 27b2aca75af2d0df9b6d63ff0368b6cb02e6b52f)
Signed-off-by: Mark Jonas <toertel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bb433833d2ae7b87d18dfae5635eac9097ecc9b7)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/parted/parted_3.3.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-extended/parted/parted_3.3.bb b/meta/recipes-extended/parted/parted_3.3.bb index a1fd3ef07b..ce40c04ad4 100644 --- a/meta/recipes-extended/parted/parted_3.3.bb +++ b/meta/recipes-extended/parted/parted_3.3.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.gnu.org/software/parted/parted.html" | |||
3 | LICENSE = "GPLv3+" | 3 | LICENSE = "GPLv3+" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=2f31b266d3440dd7ee50f92cf67d8e6c" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=2f31b266d3440dd7ee50f92cf67d8e6c" |
5 | SECTION = "console/tools" | 5 | SECTION = "console/tools" |
6 | DEPENDS = "ncurses readline util-linux virtual/libiconv" | 6 | DEPENDS = "ncurses util-linux virtual/libiconv" |
7 | 7 | ||
8 | SRC_URI = "${GNU_MIRROR}/parted/parted-${PV}.tar.xz \ | 8 | SRC_URI = "${GNU_MIRROR}/parted/parted-${PV}.tar.xz \ |
9 | file://no_check.patch \ | 9 | file://no_check.patch \ |
@@ -22,6 +22,9 @@ EXTRA_OECONF = "--disable-device-mapper" | |||
22 | 22 | ||
23 | inherit autotools pkgconfig gettext texinfo ptest | 23 | inherit autotools pkgconfig gettext texinfo ptest |
24 | 24 | ||
25 | PACKAGECONFIG ?= "readline" | ||
26 | PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline" | ||
27 | |||
25 | BBCLASSEXTEND = "native nativesdk" | 28 | BBCLASSEXTEND = "native nativesdk" |
26 | 29 | ||
27 | do_compile_ptest() { | 30 | do_compile_ptest() { |