diff options
Diffstat (limited to 'meta/recipes-kernel/dtc/dtc_1.7.0.bb')
-rw-r--r-- | meta/recipes-kernel/dtc/dtc_1.7.0.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-kernel/dtc/dtc_1.7.0.bb b/meta/recipes-kernel/dtc/dtc_1.7.0.bb new file mode 100644 index 0000000000..0fc3eca002 --- /dev/null +++ b/meta/recipes-kernel/dtc/dtc_1.7.0.bb | |||
@@ -0,0 +1,29 @@ | |||
1 | SUMMARY = "Device Tree Compiler" | ||
2 | HOMEPAGE = "https://devicetree.org/" | ||
3 | DESCRIPTION = "The Device Tree Compiler is a tool used to manipulate the Open-Firmware-like device tree used by PowerPC kernels." | ||
4 | SECTION = "bootloader" | ||
5 | LICENSE = "GPL-2.0-only | BSD-2-Clause" | ||
6 | |||
7 | LIC_FILES_CHKSUM = "file://GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
8 | file://libfdt/libfdt.h;beginline=4;endline=7;md5=05bb357cfb75cae7d2b01d2ee8d76407" | ||
9 | |||
10 | SRC_URI = "git://git.kernel.org/pub/scm/utils/dtc/dtc.git;branch=main" | ||
11 | SRCREV = "039a99414e778332d8f9c04cbd3072e1dcc62798" | ||
12 | |||
13 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" | ||
14 | |||
15 | S = "${WORKDIR}/git" | ||
16 | |||
17 | inherit meson pkgconfig | ||
18 | |||
19 | EXTRA_OEMESON = "-Dpython=disabled -Dvalgrind=disabled" | ||
20 | |||
21 | PACKAGECONFIG ??= "tools" | ||
22 | PACKAGECONFIG[tools] = "-Dtools=true,-Dtools=false,flex-native bison-native" | ||
23 | PACKAGECONFIG[yaml] = "-Dyaml=enabled,-Dyaml=disabled,libyaml" | ||
24 | |||
25 | PACKAGES =+ "${PN}-misc" | ||
26 | FILES:${PN}-misc = "${bindir}/convert-dtsv0 ${bindir}/ftdump ${bindir}/dtdiff" | ||
27 | RDEPENDS:${PN}-misc += "${@bb.utils.contains('PACKAGECONFIG', 'tools', 'bash diffutils', '', d)}" | ||
28 | |||
29 | BBCLASSEXTEND = "native nativesdk" | ||