diff options
Diffstat (limited to 'oe-init-build-env')
-rwxr-xr-x | oe-init-build-env | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/oe-init-build-env b/oe-init-build-env index 38333ab858..82382f2707 100755 --- a/oe-init-build-env +++ b/oe-init-build-env | |||
@@ -47,6 +47,12 @@ export OEROOT | |||
47 | unset OEROOT | 47 | unset OEROOT |
48 | return 1 | 48 | return 1 |
49 | } | 49 | } |
50 | |||
51 | # Generate an initial configuration for VSCode and the yocto-bitbake plugin. | ||
52 | if command -v code > /dev/null && [ ! -d "$OEROOT/.vscode" ]; then | ||
53 | oe-setup-vscode "$OEROOT" "$BUILDDIR" | ||
54 | fi | ||
55 | |||
50 | unset OEROOT | 56 | unset OEROOT |
51 | 57 | ||
52 | [ -z "$BUILDDIR" ] || cd "$BUILDDIR" | 58 | [ -z "$BUILDDIR" ] || cd "$BUILDDIR" |