bsd-headers.bb 911 B

1234567891011121314151617181920212223242526272829303132
  1. # Copyright (C) 2016 Khem Raj <raj.khem@gmail.com>
  2. # Released under the MIT license (see COPYING.MIT for the terms)
  3. SUMMARY = "BSD compatible headers"
  4. LICENSE = "BSD-3-Clause & BSD-2-Clause"
  5. LIC_FILES_CHKSUM = "file://sys-queue.h;beginline=1;endline=32;md5=c6352b0f03bb448600456547d334b56f"
  6. SECTION = "devel"
  7. SRC_URI = "file://sys-queue.h \
  8. file://sys-tree.h \
  9. file://sys-cdefs.h \
  10. "
  11. do_configure[noexec] = "1"
  12. do_compile[noexec] = "1"
  13. INHIBIT_DEFAULT_DEPS = "1"
  14. S = "${WORKDIR}/sources"
  15. UNPACKDIR = "${S}"
  16. do_install() {
  17. install -Dm 0644 ${S}/sys-queue.h ${D}${includedir}/sys/queue.h
  18. install -Dm 0644 ${S}/sys-tree.h ${D}${includedir}/sys/tree.h
  19. install -Dm 0644 ${S}/sys-cdefs.h ${D}${includedir}/sys/cdefs.h
  20. }
  21. #
  22. # We will skip parsing for non-musl systems
  23. #
  24. COMPATIBLE_HOST = ".*-musl.*"
  25. DEV_PKG_DEPENDENCY = ""
  26. RRECOMMENDS:${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"