Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 1 | # Copyright (C) 2016 Khem Raj <raj.khem@gmail.com> |
| 2 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 3 | |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 4 | SUMMARY = "BSD compatible headers" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 5 | LICENSE = "BSD-3-Clause & BSD-2-Clause" |
| 6 | LIC_FILES_CHKSUM = "file://sys-queue.h;beginline=1;endline=32;md5=c6352b0f03bb448600456547d334b56f" |
| 7 | SECTION = "devel" |
| 8 | |
| 9 | SRC_URI = "file://sys-queue.h \ |
| 10 | file://sys-tree.h \ |
| 11 | file://sys-cdefs.h \ |
| 12 | " |
| 13 | do_configure[noexec] = "1" |
| 14 | do_compile[noexec] = "1" |
| 15 | |
| 16 | INHIBIT_DEFAULT_DEPS = "1" |
| 17 | |
| 18 | S = "${WORKDIR}" |
| 19 | |
| 20 | do_install() { |
| 21 | install -Dm 0644 ${S}/sys-queue.h ${D}${includedir}/sys/queue.h |
| 22 | install -Dm 0644 ${S}/sys-tree.h ${D}${includedir}/sys/tree.h |
| 23 | install -Dm 0644 ${S}/sys-cdefs.h ${D}${includedir}/sys/cdefs.h |
| 24 | } |
| 25 | # |
| 26 | # We will skip parsing for non-musl systems |
| 27 | # |
| 28 | |
| 29 | COMPATIBLE_HOST = ".*-musl.*" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 30 | RDEPENDS:${PN}-dev = "" |
| 31 | RRECOMMENDS:${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})" |