]> code.ossystems Code Review - openembedded-core.git/commitdiff
coreutils: Add xattr PACKAGECONFIG
authorScott Ellis <scott@jumpnowtek.com>
Mon, 18 Jan 2016 10:42:48 +0000 (05:42 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Jan 2016 17:37:23 +0000 (17:37 +0000)
From Yocto poky where it also stops this warning

WARNING: QA Issue: coreutils rdepends on libattr, but it isn't a build dependency? [build-deps]

Signed-off-by: Scott Ellis <scott@jumpnowtek.com>
meta/recipes-core/coreutils/coreutils_8.24.bb

index f042346241dac6a457b131be8709b613242a54c5..6a09c594dc1358ecdc2b909733faa01709b6c780 100644 (file)
@@ -28,14 +28,19 @@ SRC_URI[manpages.sha256sum] = "cf0333b5f134a331e0b46e2ddf90666f8bdc3281c1ca2c7cc
 EXTRA_OECONF_class-native = "--without-gmp"
 EXTRA_OECONF_class-target = "--enable-install-program=arch --libexecdir=${libdir}"
 
-# acl is not a default feature
+# acl and xattr are not default features
 #
-PACKAGECONFIG_class-target ??= "${@bb.utils.contains('DISTRO_FEATURES', 'acl', 'acl', '', d)}"
+PACKAGECONFIG_class-target ??= "\
+    ${@bb.utils.contains('DISTRO_FEATURES', 'acl', 'acl', '', d)} \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'xattr', '', d)} \
+"
+
 PACKAGECONFIG_class-native ??= ""
 
 # with, without, depends, rdepends
 #
 PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl,"
+PACKAGECONFIG[xattr] = "--enable-xattr,--disable-xattr,attr,"
 
 # [ df mktemp base64 gets a special treatment and is not included in this
 bindir_progs = "arch basename chcon cksum comm csplit cut dir dircolors dirname du \