diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-05 14:17:23 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-18 12:03:28 +0100 |
commit | f362cc419e5a480acd16c71c802636dbedc932d9 (patch) | |
tree | 361809bf97f5ec89df1fa6f9569123b8a3b2bffc /meta/lib/oe/packagedata.py | |
parent | 8c5544c2311b080bb212efb7f6b804db63e125f5 (diff) | |
download | openembedded-core-f362cc419e5a480acd16c71c802636dbedc932d9.tar.gz openembedded-core-f362cc419e5a480acd16c71c802636dbedc932d9.tar.bz2 openembedded-core-f362cc419e5a480acd16c71c802636dbedc932d9.zip |
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)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/packagedata.py')
0 files changed, 0 insertions, 0 deletions