diff options
author | Ross Burton <ross@burtonini.com> | 2021-11-05 16:57:58 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-07 15:49:48 +0000 |
commit | 88d77d82ee506576988936e06b8d624879a80f2e (patch) | |
tree | 478bb05479483883ac8a020deb516442e2a10599 /meta/recipes-graphics/xorg-lib | |
parent | 8cc28b231b821bb9669eb3980281d27399f378be (diff) | |
download | openembedded-core-88d77d82ee506576988936e06b8d624879a80f2e.tar.gz |
scons: support out-of-tree builds
SCons has a slightly unusual implementation of out-of-tree builds where
there is no standard way of doing it. However, if a recipe sets B to
the idiomatic ${WORKDIR}/build and passes the right arguments so that this
is used then scons will fail as it is trying to find the SConstruct file
in ${B} not ${S}.
Always pass --directory=${S} to scons so that the SConstruct file can be
found, and don't call --clean if out-of-tree builds are being used as
we would have just deleted the entire build tree already.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xorg-lib')
0 files changed, 0 insertions, 0 deletions