[oe-commits] Saul Wold : patch: use PACKAGECONFIG to ensure correct dependency for xattr

git at git.openembedded.org git at git.openembedded.org
Fri May 31 09:06:27 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: dd219cb2608e5800dcd900117b37ad8cf9ac689a
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=dd219cb2608e5800dcd900117b37ad8cf9ac689a

Author: Saul Wold <sgw at linux.intel.com>
Date:   Wed May 22 02:14:23 2013 +0000

patch: use PACKAGECONFIG to ensure correct dependency for xattr

This will enable or disable xattr with the correct dependency
on attr as needed.

Signed-off-by: Saul Wold <sgw at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-devtools/patch/patch_2.7.1.bb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-devtools/patch/patch_2.7.1.bb b/meta/recipes-devtools/patch/patch_2.7.1.bb
index b131204..4fc137e 100644
--- a/meta/recipes-devtools/patch/patch_2.7.1.bb
+++ b/meta/recipes-devtools/patch/patch_2.7.1.bb
@@ -10,4 +10,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 
 acpaths = "-I ${S}/m4 "
 
-EXTRA_OECONF += "--disable-xattr"
+PACKAGECONFIG ?= "${@base_contains('DISTRO_FEATURES', 'xattr', 'xattr', '', d)}"
+PACKAGECONFIG[xattr] = "--enable-xattr,--disable-xattr,attr," 
+



More information about the Openembedded-commits mailing list