setools: fix race condition
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Thu, 10 Sep 2015 15:58:25 +0000 (16:58 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 10 Sep 2015 20:07:30 +0000 (22:07 +0200)
commit1ac68fe2c9b4cea91c7a30429ebf75279ede8e70
treed49f6abf9686688e6e92a634a3290ea0663f16e6
parentb287378d3c0fca20d7fec4fbf3c097115afcbd5a
setools: fix race condition

As reported upstream:

  https://github.com/TresysTechnology/setools3/issues/5

setools tries to compile a .c file before being generated and then it
produces an error like this one:

error: policy_scan.c: No such file or directory

Until upstream fixes the problem we can workaround this by using MAKE1
as the SETOOLS_MAKE.

Fixes:

  http://autobuild.buildroot.net/results/119/1196ac448c77320b59b63b6133d2d1af1245bf69/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/setools/setools.mk