summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/import.py
diff options
context:
space:
mode:
authorYoann Congal <yoann.congal@smile.fr>2025-10-02 12:09:24 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-10-05 23:47:05 +0100
commit0a87f61e3ddd126da4b053be45e8aad2120d1ea5 (patch)
tree7d115bfea7d56a7c8e8e025aed073acb1ab52a93 /scripts/lib/devtool/import.py
parent4af7034a21d35f9afe4db226a07429f517041b19 (diff)
downloadpoky-0a87f61e3ddd126da4b053be45e8aad2120d1ea5.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: d77386e6ab155081ff3bef2aab413ff8061e83a5) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/import.py')
0 files changed, 0 insertions, 0 deletions