summaryrefslogtreecommitdiff
Diffstat
-rw-r--r--Android.mk31
-rwxr-xr-xKconfig28
-rwxr-xr-xMakefile30
-rw-r--r--amlogic_thermal.h114
-rw-r--r--amlogic_thermal.o_shipped166
-rw-r--r--amlogic_thermal_module.c1108
-rw-r--r--thermal.cpp280
7 files changed, 311 insertions, 1446 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100755
index 189834c..0000000
--- a/Makefile
+++ b/dev/null
@@ -1,30 +0,0 @@
-#
-#Makefile for the thermal dirver
-#
-#$(obj)/aml_thermal.o:
-# $(obj)/aml_thermal.o $(obj)/aml_thermal_f.o FORCE
-
-$(obj)/thermal_clean:
- $(call cmd,clean)
-
-KBUILD_CFLAGS += -Wno-error=date-time
-CONFIG_AMLOGIC_THERMAL=m
-obj-$(CONFIG_AMLOGIC_THERMAL)+= aml_thermal.o
-
-$(obj)/amlogic_thermal.o: $(obj)/thermal_clean FORCE
-
-aml_thermal-objs =
-aml_thermal-objs += amlogic_thermal.o
-aml_thermal-objs += amlogic_thermal_module.o
-
-clean:
- @find $(srctree) \
- -name "*.mod.*" \
- -o -name ".*.rej" \
- -o -name "*%" \
- -o -name ".*.cmd" \
- -o -name "*.bak" \
- -o -name "Module.symvers" \
- -o -name "modules.order" \
- -o -name "*.o" \
- -o -name "*.ko" | xargs rm -f