Previously, it still was checked when there was no sys/acl.h in sysroots directory.
Add knob to decide whether acl.h are checked or not.
Fixed by using PACKAGECONFIG to check acl, with default disabled set.
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PACKAGES =+ "${PN}-rmt"
+PACKAGECONFIG[acl] = "--with-posix-acls, --without-posix-acls, acl,"
+
FILES_${PN}-rmt = "${base_sbindir}/rmt*"
inherit update-alternatives