1# Copyright (C) 2014 Khem Raj <raj.khem@gmail.com>
2# Released under the MIT license (see COPYING.MIT for the terms)
3
4SUMMARY = "An implementation of the standard library for Linux-based systems"
5DESCRIPTION = "A new standard library to power a new generation of Linux-based devices. \
6musl is lightweight, fast, simple, free, and strives to be correct in the sense of \
7standards-conformance and safety."
8
9HOMEPAGE = "http://www.musl-libc.org/"
10LICENSE = "MIT"
11SECTION = "libs"
12LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=b03f1cc25363d094011f8f4fd8bcfb68"
13
14INHIBIT_DEFAULT_DEPS = "1"
15
16FILES_SOLIBSDEV = ""
17FILES:${PN} += "${libdir}/lib*${SOLIBSDEV}"
18INSANE_SKIP:${PN} = "dev-so"
19
20# Doesn't compile in MIPS16e mode due to use of hand-written
21# assembly
22MIPS_INSTRUCTION_SET = "mips"
23
24# thumb1 is unsupported
25ARM_INSTRUCTION_SET:armv5 = "arm"
26ARM_INSTRUCTION_SET:armv4 = "arm"
27
28# 1.2.4 doesn't support riscv32
29COMPATIBLE_HOST:riscv32 = "null"
30
31# Enable out of tree build
32B = "${WORKDIR}/build"
33
34do_configure[cleandirs] = "${B}"
35