summaryrefslogtreecommitdiffstats
path: root/oe-init-build-env
diff options
context:
space:
mode:
Diffstat (limited to 'oe-init-build-env')
-rwxr-xr-xoe-init-build-env6
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.
52if command -v code > /dev/null && [ ! -d "$OEROOT/.vscode" ]; then
53 oe-setup-vscode "$OEROOT" "$BUILDDIR"
54fi
55
50unset OEROOT 56unset OEROOT
51 57
52[ -z "$BUILDDIR" ] || cd "$BUILDDIR" 58[ -z "$BUILDDIR" ] || cd "$BUILDDIR"