diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index f2fb68c..d099580 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -18,6 +18,7 @@ jobs: run: | mkdir -p /build/conf cp -v build/conf/*.conf /build/conf/ + export BSPDIR="$(pwd)" cd poky && source oe-init-build-env /build cat conf/*.conf bitbake core-image-base diff --git a/build/conf/bblayers.conf b/build/conf/bblayers.conf index 775149b..72f3307 100644 --- a/build/conf/bblayers.conf +++ b/build/conf/bblayers.conf @@ -3,7 +3,7 @@ POKY_BBLAYERS_CONF_VERSION = "2" 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 ?= "" BBLAYERS ?= " \