Files
BPI-M2C/source_sync_rls_25c/layers/meta-unisoc/recipes-ubuntu/thmcfg/thmcfg.bb
T
2026-09-22 09:38:26 +08:00

23 lines
482 B
BlitzBasic

DESCRIPTION = "Unisoc thermal cfg"
HOMEPAGE = "http://www.unisoc.com/"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = ""
PV = "0.1"
PR = "r0"
PROVIDES = "thmcfg"
do_comile () {
make clean
make
}
do_install () {
install -d ${D}/etc/
install -m 0444 ${THISDIR}/files/${MACHINE}/thermalSensorsConfig.xml ${D}/etc
install -d ${D}${sysconfdir}/init.d
install -m 0755 ${THISDIR}/thermald-init.sh ${D}${sysconfdir}/init.d/thermald-init.sh
}
FILES:${PN} = "${sysconfdir}"