mirror of
https://git.yoctoproject.org/meta-security
synced 2026-06-04 14:10:22 +00:00
suricata: improve PACKAGECONFIG[unittests] control
Allow downstream users to explicitly select desired PACKAGECONFIG options (e.g. via "="). Users are currently forced to use ":remove" (with "ptest"). Signed-off-by: Clayton Casciato <majortomtosourcecontrol@gmail.com> Signed-off-by: Scott Murray <scott.murray@konsulko.com>
This commit is contained in:
committed by
Scott Murray
parent
9e6d962250
commit
83008a93aa
@@ -46,8 +46,8 @@ PACKAGECONFIG ??= "file \
|
||||
cap-ng \
|
||||
net \
|
||||
${@bb.utils.filter('DISTRO_FEATURES', 'seccomp', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'unittests', '', d)} \
|
||||
"
|
||||
PACKAGECONFIG:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'unittests', '', d)}"
|
||||
|
||||
PACKAGECONFIG[pcre2] = "--with-libpcre2-includes=${STAGING_INCDIR} --with-libpcre2-libraries=${STAGING_LIBDIR}, ,libpcre2 ,"
|
||||
PACKAGECONFIG[yaml] = "--with-libyaml-includes=${STAGING_INCDIR} --with-libyaml-libraries=${STAGING_LIBDIR}, ,libyaml ,"
|
||||
|
||||
Reference in New Issue
Block a user