summaryrefslogtreecommitdiffstats
path: root/meta/classes/linuxloader.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/linuxloader.bbclass')
-rw-r--r--meta/classes/linuxloader.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/linuxloader.bbclass b/meta/classes/linuxloader.bbclass
index 720e5dfad4..b161c51a50 100644
--- a/meta/classes/linuxloader.bbclass
+++ b/meta/classes/linuxloader.bbclass
@@ -1,6 +1,6 @@
1def get_musl_loader_arch(d): 1def get_musl_loader_arch(d):
2 import re 2 import re
3 ldso_arch = None 3 ldso_arch = "NotSupported"
4 4
5 targetarch = d.getVar("TARGET_ARCH") 5 targetarch = d.getVar("TARGET_ARCH")
6 if targetarch.startswith("microblaze"): 6 if targetarch.startswith("microblaze"):
@@ -32,7 +32,7 @@ def get_musl_loader(d):
32def get_glibc_loader(d): 32def get_glibc_loader(d):
33 import re 33 import re
34 34
35 dynamic_loader = None 35 dynamic_loader = "NotSupported"
36 targetarch = d.getVar("TARGET_ARCH") 36 targetarch = d.getVar("TARGET_ARCH")
37 if targetarch in ["powerpc", "microblaze"]: 37 if targetarch in ["powerpc", "microblaze"]:
38 dynamic_loader = "${base_libdir}/ld.so.1" 38 dynamic_loader = "${base_libdir}/ld.so.1"
@@ -58,7 +58,7 @@ def get_linuxloader(d):
58 overrides = d.getVar("OVERRIDES").split(":") 58 overrides = d.getVar("OVERRIDES").split(":")
59 59
60 if "libc-baremetal" in overrides: 60 if "libc-baremetal" in overrides:
61 return None 61 return "NotSupported"
62 62
63 if "libc-musl" in overrides: 63 if "libc-musl" in overrides:
64 dynamic_loader = get_musl_loader(d) 64 dynamic_loader = get_musl_loader(d)