]> code.ossystems Code Review - openembedded-core.git/commitdiff
rsync: Add PACKAGECONFIG for acl/attr
authorRoy Li <rongqing.li@windriver.com>
Mon, 15 Sep 2014 09:01:36 +0000 (17:01 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 16 Sep 2014 21:12:30 +0000 (22:12 +0100)
Add PACKAGECONFIG for acl/attr
and setting the default value to enable them

[ RB: fix PACKAGECONFIG assignment ]

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/rsync/rsync_3.1.0.bb

index 72c072dae5f780d0e7fd7fe55173f90922e2df53..58ede2646ab061a6c93db7b6ec625045ca39ccbc 100644 (file)
@@ -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