]> code.ossystems Code Review - openembedded-core.git/commit
devtool: modify: fix source tree default name when mapping virtuals
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Sun, 21 Feb 2016 22:37:28 +0000 (11:37 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 28 Feb 2016 11:32:35 +0000 (11:32 +0000)
commitc51736df17da8e6e561dd5b7ce59cb08254da870
tree6df9c4370e9976e94c27ce78dcd3d18bf7d5113b
parent36cc6b81d0281348a0f241a80ddd427745a6a678
devtool: modify: fix source tree default name when mapping virtuals

If you for example ran devtool modify virtual/libusb0 without specifying
a source tree path, the default was <workspace>/sources/virtual/libusb0
which isn't correct - it should be using the mapped name i.e.
libusb-compat (in the default OE-Core configuration). Reorder some of
the code to ensure that the mapped name is used.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/devtool/standard.py