wwan-config: Get rid of platform specific files

These platform specific files are replaced by definitions in devicetree
or abstraction through lmsensors.
This commit is contained in:
Alexandre Bard 2022-08-16 11:45:34 +02:00
parent a8254343f4
commit 376186bb85
1 changed files with 3 additions and 6 deletions

View File

@ -8,10 +8,12 @@ RDEPENDS_${PN} += " \
python3-setuptools \
python3-configparser \
python3-systemd \
lmsensors-sensors \
lmsensors-config-libsensors \
"
DEPENDS = "python3-setuptools-git-version-native"
inherit gitpkgv systemd
inherit gitpkgv systemd allarch
# Package Version (built from tags)
@ -30,11 +32,6 @@ S = "${WORKDIR}/git"
inherit setuptools3
PACKAGE_ARCH = "${MACHINE_ARCH}"
do_configure_prepend() {
cp ${S}/platforms/${MACHINE}/* ${S}/wwan_config
}
do_install_append() {
install -d ${D}/${systemd_unitdir}/system/
install -m 0644 ${WORKDIR}/wwan-config@.service ${D}/${systemd_unitdir}/system/