diff options
| author | Mark Jonas <toertel@gmail.com> | 2020-12-12 16:05:32 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-12-18 22:52:24 +0000 |
| commit | 7d8ae0feb35cf5aaabec1d51f2145c1864282d3a (patch) | |
| tree | e661fb319367471ffb1e188a730f675ab2719d62 | |
| parent | 105cece2259e0d3b9be44c9bb14d4f98953504ed (diff) | |
| download | poky-7d8ae0feb35cf5aaabec1d51f2145c1864282d3a.tar.gz | |
parted: Make readline dependency optional
(From OE-Core rev: bb433833d2ae7b87d18dfae5635eac9097ecc9b7)
Signed-off-by: Mark Jonas <toertel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -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() { |
