mbox series

[0/2] oe-setup-vscode: improve bitbake-setup compatibility

Message ID 20251224150805.3312684-1-adrian.freihofer@siemens.com
Headers show
Series oe-setup-vscode: improve bitbake-setup compatibility | expand

Message

AdrianF Dec. 24, 2025, 3:07 p.m. UTC
From: Adrian Freihofer <adrian.freihofer@siemens.com>

This series improves VSCode integration for bitbake-setup projects by
addressing workspace visibility and configuration issues caused by the
different directory layout.

The first patch fixes "bitbake not found" errors by dynamically locating
bitbake using which bitbake. The second patch detects the bitbake-setup
layout and moves the .vscode directory to the workspace root, bringing
all layers into VSCode's scope and adding refined file exclusion patterns.

There will be a third patch going to bitbake-setup itself which calls
the init-build-env script to set up the environment properly already
before VSCode can be started. This will ensure the .vscode/settings.json
is created with the correct paths even before the VSCode Bitbake plugin
creates an incomplete or even invalid settings.json.

Adrian Freihofer (2):
  oe-setup-vscode: improve bitbake-setup compatibility
  oe-setup-vscode: improve VSCode bitbake-setup compatibility

 oe-init-build-env       | 16 ++++++++--
 scripts/oe-setup-vscode | 71 +++++++++++++++++++++++------------------
 2 files changed, 54 insertions(+), 33 deletions(-)