sstate-cache-management.sh: look in meta* above oe-core dir when looking for available tunes
* many layouts have other layers on the same level as oe-core checkout (From OE-Core rev: 6faf27b771176ff691c17a2dbfa98ac7b3ed1fc7) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
0b43a85154
commit
6b3f0424c9
|
@ -153,6 +153,7 @@ gen_rmlist (){
|
|||
remove_duplicated () {
|
||||
|
||||
local topdir
|
||||
local oe_core_dir
|
||||
local tunedirs
|
||||
local all_archs
|
||||
local ava_archs
|
||||
|
@ -164,8 +165,9 @@ remove_duplicated () {
|
|||
|
||||
# Find out the archs in all the layers
|
||||
echo -n "Figuring out the archs in the layers ... "
|
||||
topdir=$(dirname $(dirname $(readlink -e $0)))
|
||||
tunedirs="`find $topdir/meta* $layers -path '*/meta*/conf/machine/include'`"
|
||||
oe_core_dir=$(dirname $(dirname $(readlink -e $0)))
|
||||
topdir=$(dirname $oe_core_dir)
|
||||
tunedirs="`find $topdir/meta* ${oe_core_dir}/meta* $layers -path '*/meta*/conf/machine/include'`"
|
||||
[ -n "$tunedirs" ] || echo_error "Can't find the tune directory"
|
||||
all_archs=`grep -r -h "^AVAILTUNES .*=" $tunedirs | sed -e 's/.*=//' -e 's/\"//g'`
|
||||
# Add the qemu and native archs
|
||||
|
|
Loading…
Reference in New Issue