summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/menuconfig.py
diff options
context:
space:
mode:
authorRoss Burton <ross@burtonini.com>2021-11-05 16:57:58 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-11-07 15:49:51 +0000
commitdaa069382c3266a6ebeb81d9e17b6f0344dc0d80 (patch)
tree6b7c50998d981eaa0a3bd3e58fc13f8e6a3efa02 /scripts/lib/devtool/menuconfig.py
parentddcaf3596227a32628b436f4130f4c0b1541a4be (diff)
downloadpoky-daa069382c3266a6ebeb81d9e17b6f0344dc0d80.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. (From OE-Core rev: 88d77d82ee506576988936e06b8d624879a80f2e) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/menuconfig.py')
0 files changed, 0 insertions, 0 deletions