tar: add knob whether acl.h are checked

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.

(From OE-Core rev: ab0bbeeb0b0f6c3c5c7298929cfee757d7bbb111)

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>
This commit is contained in:
Chong Lu 2014-03-17 06:41:58 +00:00 committed by Richard Purdie
parent 9e10db5bdf
commit 724cddaff5
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,8 @@ do_install_extra () {
PACKAGES =+ "${PN}-rmt"
PACKAGECONFIG[acl] = "--with-posix-acls, --without-posix-acls, acl,"
FILES_${PN}-rmt = "${base_sbindir}/rmt*"
inherit update-alternatives