diff options
author | Ross Burton <ross@burtonini.com> | 2021-11-12 14:02:32 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-13 16:11:27 +0000 |
commit | ca02d0786947d9e245a3c9500333bc05809d8464 (patch) | |
tree | ff4aeb199809466ec5ff95450ad1d4098a959367 /meta/recipes-kernel | |
parent | 39906f5d4d83d4fbed872f4dad66915a11276f65 (diff) | |
download | poky-ca02d0786947d9e245a3c9500333bc05809d8464.tar.gz |
dtc: merge .bb/.inc
No reason for these to be split, so merge them.
(From OE-Core rev: ebfe71da5b27c4f7839837c79fb04acf84cd16e4)
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.inc | 28 | ||||
-rw-r--r-- | meta/recipes-kernel/dtc/dtc_1.6.1.bb | 28 |
2 files changed, 26 insertions, 30 deletions
diff --git a/meta/recipes-kernel/dtc/dtc.inc b/meta/recipes-kernel/dtc/dtc.inc deleted file mode 100644 index b8a6b34f0c..0000000000 --- a/meta/recipes-kernel/dtc/dtc.inc +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
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 = "GPLv2 | BSD-2-Clause" | ||
6 | DEPENDS = "flex-native bison-native" | ||
7 | |||
8 | SRC_URI = "git://git.kernel.org/pub/scm/utils/dtc/dtc.git;branch=master \ | ||
9 | file://make_install.patch \ | ||
10 | file://0001-dtc-Fix-Makefile-to-add-CFLAGS-not-override.patch \ | ||
11 | " | ||
12 | |||
13 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" | ||
14 | |||
15 | EXTRA_OEMAKE='NO_PYTHON=1 PREFIX="${prefix}" LIBDIR="${libdir}" DESTDIR="${D}"' | ||
16 | |||
17 | inherit pkgconfig | ||
18 | |||
19 | S = "${WORKDIR}/git" | ||
20 | |||
21 | do_install () { | ||
22 | oe_runmake install | ||
23 | } | ||
24 | |||
25 | PACKAGES =+ "${PN}-misc" | ||
26 | FILES:${PN}-misc = "${bindir}/convert-dtsv0 ${bindir}/ftdump ${bindir}/dtdiff" | ||
27 | |||
28 | RDEPENDS:${PN}-misc += "bash diffutils" | ||
diff --git a/meta/recipes-kernel/dtc/dtc_1.6.1.bb b/meta/recipes-kernel/dtc/dtc_1.6.1.bb index de9a46d3ef..979b610576 100644 --- a/meta/recipes-kernel/dtc/dtc_1.6.1.bb +++ b/meta/recipes-kernel/dtc/dtc_1.6.1.bb | |||
@@ -1,10 +1,34 @@ | |||
1 | require dtc.inc | 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 = "GPLv2 | BSD-2-Clause" | ||
6 | DEPENDS = "flex-native bison-native" | ||
2 | 7 | ||
3 | LIC_FILES_CHKSUM = "file://GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | 8 | LIC_FILES_CHKSUM = "file://GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
4 | file://libfdt/libfdt.h;beginline=4;endline=7;md5=05bb357cfb75cae7d2b01d2ee8d76407" | 9 | file://libfdt/libfdt.h;beginline=4;endline=7;md5=05bb357cfb75cae7d2b01d2ee8d76407" |
5 | 10 | ||
11 | SRC_URI = "git://git.kernel.org/pub/scm/utils/dtc/dtc.git;branch=master \ | ||
12 | file://make_install.patch \ | ||
13 | file://0001-dtc-Fix-Makefile-to-add-CFLAGS-not-override.patch \ | ||
14 | " | ||
6 | SRCREV = "b6910bec11614980a21e46fbccc35934b671bd81" | 15 | SRCREV = "b6910bec11614980a21e46fbccc35934b671bd81" |
7 | 16 | ||
17 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" | ||
18 | |||
19 | EXTRA_OEMAKE='NO_PYTHON=1 PREFIX="${prefix}" LIBDIR="${libdir}" DESTDIR="${D}"' | ||
20 | |||
21 | inherit pkgconfig | ||
22 | |||
8 | S = "${WORKDIR}/git" | 23 | S = "${WORKDIR}/git" |
9 | 24 | ||
25 | do_install () { | ||
26 | oe_runmake install | ||
27 | } | ||
28 | |||
29 | PACKAGES =+ "${PN}-misc" | ||
30 | FILES:${PN}-misc = "${bindir}/convert-dtsv0 ${bindir}/ftdump ${bindir}/dtdiff" | ||
31 | |||
32 | RDEPENDS:${PN}-misc += "bash diffutils" | ||
33 | |||
10 | BBCLASSEXTEND = "native nativesdk" | 34 | BBCLASSEXTEND = "native nativesdk" |