musl-legacy-error.bb 651 B

1234567891011121314151617181920212223242526
  1. # Copyright (C) 2023 Khem Raj <raj.khem@gmail.com>
  2. # Released under the MIT license (see COPYING.MIT for the terms)
  3. SUMMARY = "error API GNU extention implementation"
  4. LICENSE = "BSD-2-Clause"
  5. LIC_FILES_CHKSUM = "file://error.h;beginline=1;md5=2ee396b23e8507fbf8f98af0471a77c6"
  6. SECTION = "devel"
  7. SRC_URI = "file://error.h"
  8. do_configure[noexec] = "1"
  9. do_compile[noexec] = "1"
  10. INHIBIT_DEFAULT_DEPS = "1"
  11. S = "${UNPACKDIR}"
  12. do_install() {
  13. install -Dm 0644 ${S}/error.h -t ${D}${includedir}
  14. }
  15. #
  16. # We will skip parsing for non-musl systems
  17. #
  18. COMPATIBLE_HOST = ".*-musl.*"
  19. DEV_PKG_DEPENDENCY = ""
  20. RRECOMMENDS:${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"