patch: use PACKAGECONFIG to ensure correct dependency for xattr
PATCH v2 1/1 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 <[email protected]>
--- meta/recipes-devtools/patch/patch_2.7.1.bb | 3 +++ 1 file changed, 3 insertions(+)
meta/recipes-devtools/patch/patch_2.7.1.bb +3 -0
@@ -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,"
Signature · 1 line
1.7.10.4
Quoted 4 lines · Saul Wold
This will enable or disable xattr with the correct dependency on attr as needed.
Signed-off-by Saul Wold <[email protected]>
Looks right. :)
Acked-by Mark Hatle <[email protected]>
Quoted 16 lines
--- meta/recipes-devtools/patch/patch_2.7.1.bb | 3 +++ 1 file changed, 3 insertions(+)meta/recipes-devtools/patch/patch_2.7.1.bb +3
-0@@ -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,"