Remove outdated devicetree tools

These tools are not used anymore and not planned to be used in a near
future.

BugzID: 80015
This commit is contained in:
Alexandre Bard 2022-06-08 17:03:54 +02:00
parent 9e05073856
commit 537291f8dd
5 changed files with 0 additions and 110 deletions

View File

@ -1,13 +0,0 @@
DESCRIPTION = "Allow loading of devicetree overlays via configfs"
HOMEPAGE = "http://www.netmodule.com/"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
inherit module
PV = "1.0.0"
SRCREV ?= "4dacce9e92942f85bf3671c8ec7b5cf717ab9c05"
SRC_URI = "git://github.com/netmodule/dt-overlay.git;protocol=https"
S = "${WORKDIR}/git"

View File

@ -1,37 +0,0 @@
DESCRIPTION = "Allow loading of devicetree overlays via configfs"
HOMEPAGE = "http://www.netmodule.com/"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
DEPENDS = "dtc-native"
PV = "1.0.0"
SRCREV ?= "de7143db7ec306775dad690fcaa8922202b928dc"
SRC_URI = "git://git.netmodule.intranet/nmrouter/dt-overlays.git;protocol=ssh;user=gitea"
S = "${WORKDIR}/git"
dtos = " \
am335x-nbhw16-shield-comio-gpio \
am335x-nbhw16-shield-dualcan-can \
am335x-nbhw16-shield-dualcan-dyngpio \
am335x-nbhw16-shield-dualcan-fixgpio \
"
FILES_${PN} += "${nonarch_base_libdir}/firmware"
do_compile() {
for dto in ${dtos}; do
dtc -@ -i dts -o dto -o $dto.dtbo $dto.dts
done
}
do_install() {
install -d ${D}${nonarch_base_libdir}/firmware/
for dto in ${dtos}; do
install -m 0644 $dto.dtbo ${D}${nonarch_base_libdir}/firmware/
done
}

View File

@ -1,23 +0,0 @@
SUMMARY = "Device Tree Compiler"
DESCRIPTION = "The Device Tree Compiler is a tool used to manipulate the Open-Firmware-like device tree used by PowerPC kernels."
SECTION = "bootloader"
LICENSE = "GPLv2 | BSD"
DEPENDS = "flex-native bison-native"
SRC_URI = "git://git.kernel.org/pub/scm/utils/dtc/dtc.git \
file://make_install.patch \
"
EXTRA_OEMAKE='PREFIX="${prefix}" LIBDIR="${libdir}" DESTDIR="${D}" NO_PYTHON=1'
CFLAGS="-Wno-error"
S = "${WORKDIR}/git"
do_install () {
oe_runmake install
}
PACKAGES =+ "${PN}-misc"
FILES_${PN}-misc = "${bindir}/convert-dtsv0 ${bindir}/ftdump ${bindir}/dtdiff"
RDEPENDS_${PN}-misc += "bash"

View File

@ -1,26 +0,0 @@
Upstream-Status: Inappropriate [configuration]
Index: git/Makefile
===================================================================
--- git.orig/Makefile 2011-11-02 14:52:17.243104779 -0700
+++ git/Makefile 2011-11-02 15:06:01.555104982 -0700
@@ -18,7 +18,7 @@
CPPFLAGS = -I libfdt -I .
WARNINGS = -Wall -Wpointer-arith -Wcast-qual -Wnested-externs \
-Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wshadow
-CFLAGS = -g -Os $(SHAREDLIB_CFLAGS) -Werror $(WARNINGS)
+CFLAGS = -g -Os $(SHAREDLIB_CFLAGS) $(WARNINGS)
BISON = bison
LEX = flex
@@ -161,8 +161,8 @@
$(INSTALL) -d $(DESTDIR)$(BINDIR)
$(INSTALL) $(BIN) $(SCRIPTS) $(DESTDIR)$(BINDIR)
$(INSTALL) -d $(DESTDIR)$(LIBDIR)
- $(INSTALL) $(LIBFDT_lib) $(DESTDIR)$(LIBDIR)
- ln -sf $(notdir $(LIBFDT_lib)) $(DESTDIR)$(LIBDIR)/$(LIBFDT_soname)
+ $(INSTALL) $(LIBFDT_lib) $(DESTDIR)$(LIBDIR)/$(LIBFDT_soname)
+ ln -sf $(LIBFDT_soname) $(DESTDIR)$(LIBDIR)/$(notdir $(LIBFDT_lib))
ln -sf $(LIBFDT_soname) $(DESTDIR)$(LIBDIR)/libfdt.$(SHAREDLIB_EXT)
$(INSTALL) -m 644 $(LIBFDT_archive) $(DESTDIR)$(LIBDIR)
$(INSTALL) -d $(DESTDIR)$(INCLUDEDIR)

View File

@ -1,11 +0,0 @@
require dtc.inc
LIC_FILES_CHKSUM = "file://GPL;md5=94d55d512a9ba36caa9b7df079bae19f \
file://libfdt/libfdt.h;beginline=3;endline=52;md5=fb360963151f8ec2d6c06b055bcbb68c"
SRCREV = "1ae2d185ddda6ca578dce5641a8a39db3117492d"
PV = "1.4.5+git${SRCPV}"
S = "${WORKDIR}/git"
BBCLASSEXTEND = "native nativesdk"