aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonan Le Martret <ronan.lemartret@iot.bzh>2019-10-31 14:40:59 +0000
committerRonan Le Martret <ronan.lemartret@iot.bzh>2019-10-31 14:40:59 +0000
commitb7fe972ee8ac1dcdeec469c12d8bb559204a9b10 (patch)
treee93411f341a4934f787d08bc1f3fd8566ccfdd45
parentd6ea4202a437019e32b7e78604ef060e267b142d (diff)
Restrict smack dependency on coreutil to runtime
- avoid build cycle dependency in yocto zeus Bug-AGL: SPEC-2932 Change-Id: Icfcc59d873cb75213a50547f5b7d70888dbe41bc Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
-rw-r--r--meta-security/recipes-core/coreutils/coreutils_%.bbappend8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta-security/recipes-core/coreutils/coreutils_%.bbappend b/meta-security/recipes-core/coreutils/coreutils_%.bbappend
index ceaf6a29c..1b9b722ec 100644
--- a/meta-security/recipes-core/coreutils/coreutils_%.bbappend
+++ b/meta-security/recipes-core/coreutils/coreutils_%.bbappend
@@ -1,7 +1,7 @@
# Smack patches are included in coreutils v8.22, we just need to enable them.
# The default is not deterministic (enabled if libsmack found), so disable
# explicitly otherwise.
-EXTRA_OECONF_SMACK = "--disable-libsmack"
-EXTRA_OECONF_SMACK_with-lsm-smack = "--enable-libsmack"
-EXTRA_OECONF_append = " ${EXTRA_OECONF_SMACK}"
-DEPENDS_append_with-lsm-smack = " smack"
+EXTRA_OECONF_SMACK_class-target = "--disable-libsmack"
+EXTRA_OECONF_SMACK_with-lsm-smack_class-target = "--enable-libsmack"
+EXTRA_OECONF_append_class-target = " ${EXTRA_OECONF_SMACK}"
+DEPENDS_append_with-lsm-smack_class-target = " smack"