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:
@@ -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.*"
|
||||
Reference in New Issue
Block a user