fix(ci): allows to specify BSPDIR from envar
Some checks failed
diya-opi-distrib / build (push) Failing after 1m58s

This commit is contained in:
Dany LE 2025-03-22 10:55:16 +01:00
parent 7af2342520
commit 99a3b7762c
2 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@ jobs:
run: | run: |
mkdir -p /build/conf mkdir -p /build/conf
cp -v build/conf/*.conf /build/conf/ cp -v build/conf/*.conf /build/conf/
export BSPDIR="$(pwd)"
cd poky && source oe-init-build-env /build cd poky && source oe-init-build-env /build
cat conf/*.conf cat conf/*.conf
bitbake core-image-base bitbake core-image-base

View File

@ -3,7 +3,7 @@
POKY_BBLAYERS_CONF_VERSION = "2" POKY_BBLAYERS_CONF_VERSION = "2"
BBPATH = "${TOPDIR}" BBPATH = "${TOPDIR}"
BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}" BSPDIR ?= "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}"
BBFILES ?= "" BBFILES ?= ""
BBLAYERS ?= " \ BBLAYERS ?= " \