dtc_1.7.2.bb 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. SUMMARY = "Device Tree Compiler"
  2. HOMEPAGE = "https://devicetree.org/"
  3. DESCRIPTION = "The Device Tree Compiler is a toolchain for working with device tree source and binary files."
  4. SECTION = "bootloader"
  5. LICENSE = "GPL-2.0-only | BSD-2-Clause"
  6. LIC_FILES_CHKSUM = "file://GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
  7. file://BSD-2-Clause;md5=5d6306d1b08f8df623178dfd81880927 \
  8. file://README.license;md5=a1eb22e37f09df5b5511b8a278992d0e"
  9. SRC_URI = " \
  10. git://git.kernel.org/pub/scm/utils/dtc/dtc.git;branch=main;protocol=https \
  11. "
  12. SRCREV = "2d10aa2afe35527728db30b35ec491ecb6959e5c"
  13. UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
  14. S = "${WORKDIR}/git"
  15. inherit meson pkgconfig
  16. EXTRA_OEMESON = "-Dpython=disabled -Dvalgrind=disabled"
  17. PACKAGECONFIG ??= "tools"
  18. PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false,"
  19. PACKAGECONFIG[tools] = "-Dtools=true,-Dtools=false,flex-native bison-native"
  20. PACKAGECONFIG[yaml] = "-Dyaml=enabled,-Dyaml=disabled,libyaml"
  21. PACKAGES =+ "${PN}-misc"
  22. FILES:${PN}-misc = "${bindir}/convert-dtsv0 ${bindir}/ftdump ${bindir}/dtdiff"
  23. RDEPENDS:${PN}-misc += "${@bb.utils.contains('PACKAGECONFIG', 'tools', 'bash diffutils', '', d)}"
  24. BBCLASSEXTEND = "native nativesdk"