generic-poky/meta/recipes-support/attr
Robert Yang f81c0de905 acl: fix race issue when do_compile
Fixed race issue:
 In file included from acl_copy_entry.c:22:0:
 libacl.h:19:21: fatal error: sys/acl.h: No such file or directory
  #include <sys/acl.h>

[snip]

 compilation terminated.
 acl_get_file.c:27:24: fatal error: acl/libacl.h: No such file or directory
  #include <acl/libacl.h>
                         ^

The acl.h is in "include" directory, and include/Makefile creates
symlink "sys" and "acl" poinst to current dirctory:
$ ls include/ -l
acl -> .
sys -> .

So if "libacl" target runs before "include", the error would happen
since no "acl" or "sys" directory.

Let libacl depend on include can fix the problem.

[YOCTO #11349]

(From OE-Core rev: 73d3d81fcdb92dd85c6ad1609e3a6eb20f1ea539)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-19 10:18:43 +01:00
..
acl acl: fix race issue when do_compile 2017-04-19 10:18:43 +01:00
attr attr: move attr-specific patches into attr/ 2017-01-31 14:43:01 +00:00
files attr/acl: Do not create broken static library link when not needed 2017-03-22 11:35:20 +00:00
acl_2.2.52.bb acl: fix race issue when do_compile 2017-04-19 10:18:43 +01:00
attr.inc Revert "attr: Added ncurses to depends" 2016-10-05 10:10:11 +01:00
attr_2.4.47.bb attr: Remove redundant "+=" after "_append" 2016-04-29 07:58:45 +01:00
ea-acl.inc attr/acl: Do not create broken static library link when not needed 2017-03-22 11:35:20 +00:00