[oe-commits] [meta-openembedded] 11/12: safec: Put perl requiring tools into separate package

git at git.openembedded.org git at git.openembedded.org
Fri Mar 20 14:46:47 UTC 2020


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit e9fdc5acb4dca61f33575ae176a373b01f8323fc
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Thu Mar 19 23:47:55 2020 -0700

    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 at gmail.com>
---
 meta-oe/recipes-core/safec/safec_3.5.bb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-core/safec/safec_3.5.bb b/meta-oe/recipes-core/safec/safec_3.5.bb
index c9ace3b..66b1f6a 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"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list