summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Wesp <n.wesp@phytec.de>2020-09-04 15:47:24 +0200
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2020-09-04 16:29:45 +0200
commit76ee4e1422e3005dc4053f3cca4444bef9de067a (patch)
tree38f7e1c05a847692607410d26c5156c3d0284e81
parentbd41da177485f6f11b79ad87b6ef542dee5e98fe (diff)
downloadmeta-phytec-76ee4e1422e3005dc4053f3cca4444bef9de067a.tar.bz2
meta-phytec-76ee4e1422e3005dc4053f3cca4444bef9de067a.zip
init_bblayers.conf: do not sort layers_to_addrocko
By sorting the layers, before they will be added to bblayers.conf, we will break (for example) i.MX8 builds, as they depend on the sequence of meta-layer defined by the manifests. The sequence of layers in bblayers.conf defines the sequence of paths to search for any needed files (except recipes) during a build. Signed-off-by: Norbert Wesp <n.wesp@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
-rwxr-xr-xscripts/init_bblayers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/init_bblayers.py b/scripts/init_bblayers.py
index 3906569..656b8b8 100755
--- a/scripts/init_bblayers.py
+++ b/scripts/init_bblayers.py
@@ -20,7 +20,7 @@ class BSP_BBLayer(BoardSupportPackage):
print("Layers to add:", layers_to_add)
with open(self.bblayers_conf, "a") as f:
f.write("BBLAYERS += \"\\\n")
- for l in sorted(layers_to_add):
+ for l in layers_to_add:
f.write(" ${OEROOT}/../%s \\\n" % l)
f.write(" \"\n")