aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2021-12-13 16:49:48 +0000
committerKhem Raj <raj.khem@gmail.com>2021-12-13 21:20:02 -0800
commit07034939efb97c421133b26e099765fe9c3af643 (patch)
tree0a38e06a92eb221bb36f3a38028c20681de4f4e8 /meta-oe/recipes-support
parentec40c25b64ea26e4a3f188ba9b2c4a4e92a686ba (diff)
downloadmeta-openembedded-contrib-07034939efb97c421133b26e099765fe9c3af643.tar.gz
srecord: add libgcrypt PACKAGECONFIG
Instead of forcibly disabling libgcrypt, add a PACKAGECONFIG and enable it as functionality is good. Also remove the redundant libtool-native DEPENDS as autotools adds this dependency by default. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support')
-rw-r--r--meta-oe/recipes-support/srecord/srecord_1.64.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/srecord/srecord_1.64.bb b/meta-oe/recipes-support/srecord/srecord_1.64.bb
index 4a00be1baf..3ad2d72777 100644
--- a/meta-oe/recipes-support/srecord/srecord_1.64.bb
+++ b/meta-oe/recipes-support/srecord/srecord_1.64.bb
@@ -13,11 +13,12 @@ SRC_URI[sha256sum] = "49a4418733c508c03ad79a29e95acec9a2fbc4c7306131d2a8f5ef3201
UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/srecord/files/releases"
-DEPENDS = "libtool-native boost groff-native"
+DEPENDS = "boost groff-native"
inherit autotools-brokensep
-EXTRA_OECONF = "--without-gcrypt"
+PACKAGECONFIG ??= "gcrypt"
+PACKAGECONFIG[gcrypt] = "--with-gcrypt,--without-gcrypt,libgcrypt"
# Set variable WITHOUT_DOC=0 to enable documentation generation
EXTRA_OEMAKE = "WITHOUT_DOC=1"