aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-03-19 23:47:55 -0700
committerKhem Raj <raj.khem@gmail.com>2020-03-20 07:44:29 -0700
commite9fdc5acb4dca61f33575ae176a373b01f8323fc (patch)
tree74a1f2d73782e7616b06f1e829e5100274a2ffd1 /meta-oe
parent1f457c22c89555d88a691baec1045b3dc7862f8b (diff)
downloadmeta-openembedded-e9fdc5acb4dca61f33575ae176a373b01f8323fc.tar.gz
safec: Put perl requiring tools into separate package
There is one script - a check tool that needs perl on target, which perhaps is only needed during development and testing therefore move that to a separate package. Rest of safec is then independent of perl runtime requirement. Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-core/safec/safec_3.5.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-oe/recipes-core/safec/safec_3.5.bb b/meta-oe/recipes-core/safec/safec_3.5.bb
index c9ace3b0b8..66b1f6a1aa 100644
--- a/meta-oe/recipes-core/safec/safec_3.5.bb
+++ b/meta-oe/recipes-core/safec/safec_3.5.bb
@@ -16,4 +16,8 @@ CPPFLAGS_append_libc-musl = " -D_GNU_SOURCE"
COMPATIBLE_HOST = '(x86_64|i.86|powerpc|powerpc64|arm).*-linux'
-RDEPENDS_${PN} = "perl"
+PACKAGES =+ "${PN}-check"
+
+FILES_${PN}-check += "${bindir}/check_for_unsafe_apis"
+
+RDEPENDS_${PN}-check += "perl"