1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 13:09:50 +00:00

bsd-headers,musl: Add recipe for bsd missing features

let musl depend on these headers so they are staged along with libc

(From OE-Core rev: 2cb184e4abaa69faad9f94631a3906188aa78e96)

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
2016-01-08 09:05:14 +00:00
committed by Richard Purdie
parent c2c92026e4
commit 06d020489d
4 changed files with 1633 additions and 0 deletions
@@ -0,0 +1,25 @@
# Copyright (C) 2016 Khem Raj <raj.khem@gmail.com>
# Released under the MIT license (see COPYING.MIT for the terms)
DESCRIPTION = "bsd compatible headers"
LICENSE = "BSD-3-Clause && BSD-2-Clause"
SECTION = "devel"
SRC_URI = "file://sys-queue.h \
file://sys-tree.h \
"
do_configure[noexec] = "1"
do_compile[noexec] = "1"
INHIBIT_DEFAULT_DEPS = "1"
S = "${WORKDIR}"
do_install() {
install -Dm 0644 ${S}/sys-queue.h ${D}${includedir}/sys/queue.h
install -Dm 0644 ${S}/sys-tree.h ${D}${includedir}/sys/tree.h
}
#
# We will skip parsing for non-musl systems
#
COMPATIBLE_HOST = ".*-musl.*"