cml1.bbclass: Return sorted list of cfg files

Since these files are passed to merge_config.sh its better to use a
sorted list, so we can be sure that this list is always fed in same
order irrespective of python versions on host

(From OE-Core rev: 3d949f286c29bcaaf4dfc0aaffd15f129d1bab2d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2021-05-02 23:36:00 -07:00
committed by Richard Purdie
parent 68e84ae936
commit dee41e92f0

View File

@@ -6,7 +6,7 @@ def find_cfgs(d):
if s.endswith('.cfg'):
sources_list.append(s)
return sources_list
return sorted(sources_list)
cml1_do_configure() {
set -e