From 594d97cdb66b6d70b3a9c1887fe4e22df530e21c Mon Sep 17 00:00:00 2001 From: dany Date: Sat, 22 Mar 2025 11:18:55 +0100 Subject: [PATCH] fix: only set BBPATH when not previously set --- build/conf/bblayers.conf | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/build/conf/bblayers.conf b/build/conf/bblayers.conf index 72f3307..0b6c2d4 100644 --- a/build/conf/bblayers.conf +++ b/build/conf/bblayers.conf @@ -1,19 +1,19 @@ -# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf -# changes incompatibly -POKY_BBLAYERS_CONF_VERSION = "2" - -BBPATH = "${TOPDIR}" -BSPDIR ?= "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}" -BBFILES ?= "" - -BBLAYERS ?= " \ - ${BSPDIR}/poky/meta \ - ${BSPDIR}/poky/meta-poky \ - ${BSPDIR}/poky/meta-yocto-bsp \ - ${BSPDIR}/meta-wayland \ - ${BSPDIR}/meta-diya \ - ${BSPDIR}/meta-opi-diya \ - ${BSPDIR}/meta-openembedded/meta-oe \ - ${BSPDIR}/meta-openembedded/meta-python \ - ${BSPDIR}/meta-openembedded/meta-multimedia \ +# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf +# changes incompatibly +POKY_BBLAYERS_CONF_VERSION = "2" + +BBPATH ?= "${TOPDIR}" +BSPDIR ?= "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}" +BBFILES ?= "" + +BBLAYERS ?= " \ + ${BSPDIR}/poky/meta \ + ${BSPDIR}/poky/meta-poky \ + ${BSPDIR}/poky/meta-yocto-bsp \ + ${BSPDIR}/meta-wayland \ + ${BSPDIR}/meta-diya \ + ${BSPDIR}/meta-opi-diya \ + ${BSPDIR}/meta-openembedded/meta-oe \ + ${BSPDIR}/meta-openembedded/meta-python \ + ${BSPDIR}/meta-openembedded/meta-multimedia \ " \ No newline at end of file