Skip to contentSkip to conversation

bblayers.conf.sample: use ##OEROOT## instead of ##COREBASE##

PATCH In review Ross Burton 3 participants 4 messages Sep 11, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bblayers.conf.sample: use ##OEROOT## instead of ##COREBASE##

The variable ##COREBASE## has been deprecated, so use ##OEROOT## instead.

---
 meta-yocto/conf/bblayers.conf.sample |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
meta-yocto/conf/bblayers.conf.sample +5 -5
index 7fd755d..0eda565 100644
@@ -6,11 +6,11 @@ BBPATH = "${TOPDIR}"
 BBFILES ?= ""
 
 BBLAYERS ?= " \
-  ##COREBASE##/meta \
-  ##COREBASE##/meta-yocto \
-  ##COREBASE##/meta-yocto-bsp \
+  ##OEROOT##/meta \
+  ##OEROOT##/meta-yocto \
+  ##OEROOT##/meta-yocto-bsp \
   "
 BBLAYERS_NON_REMOVABLE ?= " \
-  ##COREBASE##/meta \
-  ##COREBASE##/meta-yocto \
+  ##OEROOT##/meta \
+  ##OEROOT##/meta-yocto \
   "
Signature · 1 line
1.7.10.4
#1 lore raw

Do you have an url where this change is explained?

Quoted 37 lines · Ross Burton

The variable ##COREBASE## has been deprecated, so use ##OEROOT## instead.

---
 meta-yocto/conf/bblayers.conf.sample |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
meta-yocto/conf/bblayers.conf.sample +5 -6
index 7fd755d..0eda565 100644
@@ -6,11 +6,11 @@ BBPATH = "${TOPDIR}"
 BBFILES ?= ""
 
 BBLAYERS ?= " \
-  ##COREBASE##/meta \
-  ##COREBASE##/meta-yocto \
-  ##COREBASE##/meta-yocto-bsp \
+  ##OEROOT##/meta \
+  ##OEROOT##/meta-yocto \
+  ##OEROOT##/meta-yocto-bsp \
   "
 BBLAYERS_NON_REMOVABLE ?= " \
-  ##COREBASE##/meta \
-  ##COREBASE##/meta-yocto \
+  ##OEROOT##/meta \
+  ##OEROOT##/meta-yocto \
   "
--

1.7.10.4

_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky

#2 lore raw
Quoted 1 line · Laszlo Papp

Do you have an url where this change is explained?

commit 70a16efaa662a95646e82c88d3295986e1db416f

Author: Ross Burton <[email protected]>
Date:   Mon Aug 12 11:41:49 2013 +0100

oe-setup-builddir: substitute ##OEROOT## when using templates

oe-setup-builddir substitutes ##COREBASE## which seems like it
should have the

    same value as the variable ${COREBASE}.  In reality it doesn't as
##COREBASE##
    is substituted with the value of $OEROOT (the location of the
oe-init-build-env
    script), whereas ${COREBASE} is set by oe-core to the parent

directory of meta/.
If oe-core's meta/ isn't a top-level directory then ##COREBASE##
and ${COREBASE}
have different values, which can lead to confusion.

To resolve this, deprecate (but still substitute) ##COREBASE## and
substitute
##OEROOT# for $OEROOT.

(From OE-Core rev: 1890783928dd1c73105fae32fb6c588afc287ff6)

#3 lore raw

Patch applied and pushed to yocto-docs/master branch.

Thanks,
Scott

Quoted 34 lines · Ross
Quoted 1 line · Laszlo Papp

Do you have an url where this change is explained?

commit 70a16efaa662a95646e82c88d3295986e1db416f

Author: Ross Burton <[email protected]>
Date:   Mon Aug 12 11:41:49 2013 +0100

oe-setup-builddir: substitute ##OEROOT## when using templates

oe-setup-builddir substitutes ##COREBASE## which seems like it
should have the

    same value as the variable ${COREBASE}.  In reality it doesn't as
##COREBASE##
    is substituted with the value of $OEROOT (the location of the
oe-init-build-env
    script), whereas ${COREBASE} is set by oe-core to the parent

directory of meta/.
If oe-core's meta/ isn't a top-level directory then ##COREBASE##
and ${COREBASE}
have different values, which can lead to confusion.

To resolve this, deprecate (but still substitute) ##COREBASE## and
substitute
##OEROOT# for $OEROOT.

(From OE-Core rev: 1890783928dd1c73105fae32fb6c588afc287ff6)

_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky