diff options
-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" |