[OE-core] [PATCH v2] patch: use PACKAGECONFIG to ensure correct dependency for xattr

Saul Wold sgw at linux.intel.com
Wed May 22 02:14:23 UTC 2013


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

Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
 meta/recipes-devtools/patch/patch_2.7.1.bb |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-devtools/patch/patch_2.7.1.bb b/meta/recipes-devtools/patch/patch_2.7.1.bb
index 38df034..16e3cc4 100644
--- a/meta/recipes-devtools/patch/patch_2.7.1.bb
+++ b/meta/recipes-devtools/patch/patch_2.7.1.bb
@@ -9,3 +9,6 @@ SRC_URI[sha256sum] = "c05f28668c3474bc63adcd48abae921d15e71c254fbebdbaeda40456d6
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 
 acpaths = "-I ${S}/m4 "
+
+PACKAGECONFIG ?= "${@base_contains('DISTRO_FEATURES', 'xattr', 'xattr', '', d)}"
+PACKAGECONFIG[xattr] = "--enable-xattr,--disable-xattr,attr," 
-- 
1.7.10.4




More information about the Openembedded-core mailing list