diff options
author | Ross Burton <ross@burtonini.com> | 2021-11-12 14:02:34 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-13 16:11:27 +0000 |
commit | 8b5edbb9a2e7ba4b28eb216fb7fd03d6bff368ce (patch) | |
tree | fcefedfc731e59a3ffa30debe8553a2ea9bfe23a /meta/recipes-kernel/dtc | |
parent | cf9782c18a85b4d3adcf813cf0dfe122b7011b52 (diff) | |
download | poky-8b5edbb9a2e7ba4b28eb216fb7fd03d6bff368ce.tar.gz |
dtc: add PACKAGECONFIGs for tools and yaml
Leave yaml off by default.
(From OE-Core rev: f70f9a7f44676f722e2541e1ef1f064c942fffcb)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/dtc')
-rw-r--r-- | meta/recipes-kernel/dtc/dtc_1.6.1.bb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/recipes-kernel/dtc/dtc_1.6.1.bb b/meta/recipes-kernel/dtc/dtc_1.6.1.bb index 44293cf4ff..6365f73e10 100644 --- a/meta/recipes-kernel/dtc/dtc_1.6.1.bb +++ b/meta/recipes-kernel/dtc/dtc_1.6.1.bb | |||
@@ -3,7 +3,6 @@ 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." | 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" | 4 | SECTION = "bootloader" |
5 | LICENSE = "GPLv2 | BSD-2-Clause" | 5 | LICENSE = "GPLv2 | BSD-2-Clause" |
6 | DEPENDS = "flex-native bison-native" | ||
7 | 6 | ||
8 | LIC_FILES_CHKSUM = "file://GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | 7 | LIC_FILES_CHKSUM = "file://GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
9 | file://libfdt/libfdt.h;beginline=4;endline=7;md5=05bb357cfb75cae7d2b01d2ee8d76407" | 8 | file://libfdt/libfdt.h;beginline=4;endline=7;md5=05bb357cfb75cae7d2b01d2ee8d76407" |
@@ -19,9 +18,12 @@ inherit meson pkgconfig | |||
19 | 18 | ||
20 | EXTRA_OEMESON = "-Dpython=disabled -Dvalgrind=disabled" | 19 | EXTRA_OEMESON = "-Dpython=disabled -Dvalgrind=disabled" |
21 | 20 | ||
21 | PACKAGECONFIG ??= "tools" | ||
22 | PACKAGECONFIG[tools] = "-Dtools=true,-Dtools=false,flex-native bison-native" | ||
23 | PACKAGECONFIG[yaml] = "-Dyaml=enabled,-Dyaml=disabled,libyaml" | ||
24 | |||
22 | PACKAGES =+ "${PN}-misc" | 25 | PACKAGES =+ "${PN}-misc" |
23 | FILES:${PN}-misc = "${bindir}/convert-dtsv0 ${bindir}/ftdump ${bindir}/dtdiff" | 26 | FILES:${PN}-misc = "${bindir}/convert-dtsv0 ${bindir}/ftdump ${bindir}/dtdiff" |
24 | 27 | RDEPENDS:${PN}-misc += "${@bb.utils.contains('PACKAGECONFIG', 'tools', 'bash diffutils', '', d)}" | |
25 | RDEPENDS:${PN}-misc += "bash diffutils" | ||
26 | 28 | ||
27 | BBCLASSEXTEND = "native nativesdk" | 29 | BBCLASSEXTEND = "native nativesdk" |