From e9fdc5acb4dca61f33575ae176a373b01f8323fc Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 19 Mar 2020 23:47:55 -0700 Subject: 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 --- meta-oe/recipes-core/safec/safec_3.5.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'meta-oe') 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" -- cgit v1.2.3-54-g00ecf