[OE-core] [PATCH] rsync: Add PACKAGECONFIG for acl/attr

rongqing.li at windriver.com rongqing.li at windriver.com
Mon Sep 15 09:01:36 UTC 2014


From: Roy Li <rongqing.li at windriver.com>

Add PACKAGECONFIG for acl/attr
and setting the default value to enable them

Signed-off-by: Roy Li <rongqing.li at windriver.com>
---
 meta/recipes-devtools/rsync/rsync_3.1.0.bb |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/rsync/rsync_3.1.0.bb b/meta/recipes-devtools/rsync/rsync_3.1.0.bb
index 72c072d..c27e4f0 100644
--- a/meta/recipes-devtools/rsync/rsync_3.1.0.bb
+++ b/meta/recipes-devtools/rsync/rsync_3.1.0.bb
@@ -6,7 +6,9 @@ SRC_URI += "file://acinclude.m4"
 SRC_URI[md5sum] = "3be148772a33224771a8d4d2a028b132"
 SRC_URI[sha256sum] = "81ca23f77fc9b957eb9845a6024f41af0ff0c619b7f38576887c63fa38e2394e"
 
-EXTRA_OECONF += "--disable-xattr-support --disable-acl-support"
+PACKAGECONFIG ?= "acl attr"
+PACKAGECONFIG[acl] = "--enable-acl-support,--disable-acl-support,acl,"
+PACKAGECONFIG[attr] = "--enable-xattr-support,--disable-xattr-support,attr,"
 
 # rsync 3.0 uses configure.sh instead of configure, and
 # makefile checks the existence of configure.sh
-- 
1.7.10.4




More information about the Openembedded-core mailing list