diff options
author | Mark Jonas <toertel@gmail.com> | 2020-12-12 16:05:32 +0100 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2020-12-22 09:39:02 +0800 |
commit | 27b2aca75af2d0df9b6d63ff0368b6cb02e6b52f (patch) | |
tree | d3d147eb06f8075dbf8b34d3742732c065ad7478 | |
parent | 2f8da84311bb0a3b6eb93e4d5fe55914a84e68d7 (diff) | |
download | openembedded-core-27b2aca75af2d0df9b6d63ff0368b6cb02e6b52f.tar.gz |
parted: Make readline dependency optional
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>
-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" LICENSE = "GPLv3+" LIC_FILES_CHKSUM = "file://COPYING;md5=2f31b266d3440dd7ee50f92cf67d8e6c" SECTION = "console/tools" -DEPENDS = "ncurses readline util-linux virtual/libiconv" +DEPENDS = "ncurses util-linux virtual/libiconv" SRC_URI = "${GNU_MIRROR}/parted/parted-${PV}.tar.xz \ file://no_check.patch \ @@ -22,6 +22,9 @@ EXTRA_OECONF = "--disable-device-mapper" inherit autotools pkgconfig gettext texinfo ptest +PACKAGECONFIG ?= "readline" +PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline" + BBCLASSEXTEND = "native nativesdk" do_compile_ptest() { |