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 17:42:08 +0100 |
| commit | 0788cfb6dd8f7e781f3211b0ba7d6bdccab5c50e (patch) | |
| tree | 76eb43eb14c5cd41ab93b75ff1978c72ff72ba27 /scripts/lib/devtool/ide_plugins/ide_none.py | |
| parent | 3a65fa289c8df58e1fff9cef86bd51b83ac168f7 (diff) | |
| download | poky-0788cfb6dd8f7e781f3211b0ba7d6bdccab5c50e.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_plugins/ide_none.py')
0 files changed, 0 insertions, 0 deletions
