summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/musl/musl.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/musl/musl.inc')
-rw-r--r--meta/recipes-core/musl/musl.inc11
1 files changed, 7 insertions, 4 deletions
diff --git a/meta/recipes-core/musl/musl.inc b/meta/recipes-core/musl/musl.inc
index 6ca52b186a..ce45de2d23 100644
--- a/meta/recipes-core/musl/musl.inc
+++ b/meta/recipes-core/musl/musl.inc
@@ -9,7 +9,7 @@ standards-conformance and safety."
9HOMEPAGE = "http://www.musl-libc.org/" 9HOMEPAGE = "http://www.musl-libc.org/"
10LICENSE = "MIT" 10LICENSE = "MIT"
11SECTION = "libs" 11SECTION = "libs"
12LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=b03f1cc25363d094011f8f4fd8bcfb68" 12LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=0c2904cdc34777fb4067732bae145506"
13 13
14INHIBIT_DEFAULT_DEPS = "1" 14INHIBIT_DEFAULT_DEPS = "1"
15 15
@@ -25,10 +25,13 @@ MIPS_INSTRUCTION_SET = "mips"
25ARM_INSTRUCTION_SET:armv5 = "arm" 25ARM_INSTRUCTION_SET:armv5 = "arm"
26ARM_INSTRUCTION_SET:armv4 = "arm" 26ARM_INSTRUCTION_SET:armv4 = "arm"
27 27
28# 1.2.4 doesn't support riscv32
29COMPATIBLE_HOST:riscv32 = "null"
30
31# Enable out of tree build 28# Enable out of tree build
32B = "${WORKDIR}/build" 29B = "${WORKDIR}/build"
33 30
34do_configure[cleandirs] = "${B}" 31do_configure[cleandirs] = "${B}"
32
33python () {
34 multilibs = d.getVar("MULTILIBS")
35 if multilibs:
36 raise bb.parse.SkipRecipe("musl is not compatible with multilibs")
37}