]> code.ossystems Code Review - openembedded-core.git/commit
oe-setup-builddir: substitute ##OEROOT## when using templates
authorRoss Burton <ross.burton@intel.com>
Mon, 12 Aug 2013 10:41:49 +0000 (11:41 +0100)
committerSaul Wold <sgw@linux.intel.com>
Tue, 13 Aug 2013 17:13:20 +0000 (10:13 -0700)
commit1890783928dd1c73105fae32fb6c588afc287ff6
tree10ac2ce1f14df757a3a2ff90318febefc689202a
parent767383ac80bd52a51d52655f95bb503cd0bb827b
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.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
scripts/oe-setup-builddir