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

Mark Hatle mark.hatle at windriver.com
Wed May 22 12:54:30 UTC 2013


On 5/21/13 9:14 PM, Saul Wold wrote:
> This will enable or disable xattr with the correct dependency
> on attr as needed.
>
> Signed-off-by: Saul Wold <sgw at linux.intel.com>

Looks right.  :)

Acked-by: Mark Hatle <mark.hatle at windriver.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,"
>




More information about the Openembedded-core mailing list