]> code.ossystems Code Review - openembedded-core.git/commitdiff
tar: control acl PACKAGECONFIG based on acl distro feature
authorAndre McCurdy <armccurdy@gmail.com>
Thu, 26 Apr 2018 17:49:41 +0000 (10:49 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 4 May 2018 08:54:59 +0000 (09:54 +0100)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-extended/tar/tar_1.30.bb

index 3f31622c1dfdcaad2759d7e727c6970d5d07d8d8..bd24f4762f4e98a3a7ca178f1fbbb9efe00f8e75 100644 (file)
@@ -17,6 +17,8 @@ SRC_URI[sha256sum] = "87592b86cb037c554375f5868bdd3cc57748aef38d6cb741c81065f0be
 inherit autotools gettext texinfo
 
 PACKAGECONFIG ??= ""
+PACKAGECONFIG_append_class-target = " ${@bb.utils.filter('DISTRO_FEATURES', 'acl', d)}"
+
 PACKAGECONFIG[acl] = "--with-posix-acls,--without-posix-acls,acl"
 
 EXTRA_OECONF += "DEFAULT_RMT_DIR=${base_sbindir}"