summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
diff options
context:
space:
mode:
authorRoss Burton <ross@burtonini.com>2021-11-12 14:02:34 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-11-13 16:11:27 +0000
commit8b5edbb9a2e7ba4b28eb216fb7fd03d6bff368ce (patch)
treefcefedfc731e59a3ffa30debe8553a2ea9bfe23a /meta/recipes-kernel
parentcf9782c18a85b4d3adcf813cf0dfe122b7011b52 (diff)
downloadpoky-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')
-rw-r--r--meta/recipes-kernel/dtc/dtc_1.6.1.bb8
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/"
3DESCRIPTION = "The Device Tree Compiler is a tool used to manipulate the Open-Firmware-like device tree used by PowerPC kernels." 3DESCRIPTION = "The Device Tree Compiler is a tool used to manipulate the Open-Firmware-like device tree used by PowerPC kernels."
4SECTION = "bootloader" 4SECTION = "bootloader"
5LICENSE = "GPLv2 | BSD-2-Clause" 5LICENSE = "GPLv2 | BSD-2-Clause"
6DEPENDS = "flex-native bison-native"
7 6
8LIC_FILES_CHKSUM = "file://GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ 7LIC_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
20EXTRA_OEMESON = "-Dpython=disabled -Dvalgrind=disabled" 19EXTRA_OEMESON = "-Dpython=disabled -Dvalgrind=disabled"
21 20
21PACKAGECONFIG ??= "tools"
22PACKAGECONFIG[tools] = "-Dtools=true,-Dtools=false,flex-native bison-native"
23PACKAGECONFIG[yaml] = "-Dyaml=enabled,-Dyaml=disabled,libyaml"
24
22PACKAGES =+ "${PN}-misc" 25PACKAGES =+ "${PN}-misc"
23FILES:${PN}-misc = "${bindir}/convert-dtsv0 ${bindir}/ftdump ${bindir}/dtdiff" 26FILES:${PN}-misc = "${bindir}/convert-dtsv0 ${bindir}/ftdump ${bindir}/dtdiff"
24 27RDEPENDS:${PN}-misc += "${@bb.utils.contains('PACKAGECONFIG', 'tools', 'bash diffutils', '', d)}"
25RDEPENDS:${PN}-misc += "bash diffutils"
26 28
27BBCLASSEXTEND = "native nativesdk" 29BBCLASSEXTEND = "native nativesdk"