patch: use PACKAGECONFIG to ensure correct dependency for xattr

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

(From OE-Core rev: dd219cb2608e5800dcd900117b37ad8cf9ac689a)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Saul Wold
2013-05-22 02:14:23 +00:00
committed by Richard Purdie
parent e69e756507
commit a09c5e4b0b

View File

@@ -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,"