summaryrefslogtreecommitdiffstats
path: root/scripts/qemuimage-tests/tools/compiler_test.sh
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-05 14:17:23 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-18 12:13:46 +0100
commitc0bf72308911a8d1c23f43d60788d82aff453883 (patch)
tree430e6ca3f76c0c046233b340d8aa77a243109973 /scripts/qemuimage-tests/tools/compiler_test.sh
parent81be7c898b01afcf61b019466306fa776b1e6334 (diff)
downloadpoky-c0bf72308911a8d1c23f43d60788d82aff453883.tar.gz
autotools: Fix race over aclocal macro directory
The previous steps taken to address races over the aclocal macro directory and the removal of files hasn't been sufficient since aclocal still looks at that directory as part of its default search path. This patch passes the aclocal-copy directory into aclocal as its system directory, removing any chance of it accessing the original aclocal directory. Hopefully this should therefore fix the race issues once and for all. In order to do this, cp-noerror needs to not error if the directory already exists. Its also been noticed that aclocal defaults to using STAGING_DATADIR_NATIVE even when building for the target. Only using the target directory would cause errors such as missing pkgconfig macros (since we only depend on pkgconfig-native, not pkgconfig). This patch processes both sets of macros maintaining existing behaviour. At a future date we could look into potentially optimsing this. [YOCTO #3216] (From OE-Core rev: ad29b331e0d61708e68ef772cdb19154956fa67e) (From OE-Core rev: f362cc419e5a480acd16c71c802636dbedc932d9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/qemuimage-tests/tools/compiler_test.sh')
0 files changed, 0 insertions, 0 deletions