diff options
author | Yoann Congal <yoann.congal@smile.fr> | 2025-10-02 12:09:24 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-10 10:50:20 +0100 |
commit | c49994a462a1e36a8d68535f01ad43415016e1a1 (patch) | |
tree | 5c6a215fbec0e9a5d6007c5e0167f3e56c2fd5e5 /scripts/lib/devtool/ide_sdk.py | |
parent | fbf8738e239800b1f68f19ee0b84fc2b58862abe (diff) | |
download | poky-c49994a462a1e36a8d68535f01ad43415016e1a1.tar.gz |
bitbake: bitbake-setup: dash support for init-build-env script
Being minimalist, dash does not support the (non-POSIX) feature of
passing an argument while sourcing a script. Like in
. <some path>/oe-init-build-env <build dir>
With dash, one must use:
set <build dir> # puts <build dir> in $1
cd <some path>
. ./oe-init-build-env # can only be called from its directory in dash
To do this:
* Instead of a symlink to oe-init-build-env, keep a symlink to the
directory containing it (called "oe-init-build-env-dir")
* Generate a init-build-env script that dash can source using the above
snippet.
(Bitbake rev: c0adccefd0f74ada0370028026485a171167a28e)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/ide_sdk.py')
0 files changed, 0 insertions, 0 deletions