summaryrefslogtreecommitdiff
path: root/Makefile (plain)
blob: 189834c86694c02d690b9caac8ac97bb682909f2
1#
2#Makefile for the thermal dirver
3#
4#$(obj)/aml_thermal.o:
5# $(obj)/aml_thermal.o $(obj)/aml_thermal_f.o FORCE
6
7$(obj)/thermal_clean:
8 $(call cmd,clean)
9
10KBUILD_CFLAGS += -Wno-error=date-time
11CONFIG_AMLOGIC_THERMAL=m
12obj-$(CONFIG_AMLOGIC_THERMAL)+= aml_thermal.o
13
14$(obj)/amlogic_thermal.o: $(obj)/thermal_clean FORCE
15
16aml_thermal-objs =
17aml_thermal-objs += amlogic_thermal.o
18aml_thermal-objs += amlogic_thermal_module.o
19
20clean:
21 @find $(srctree) \
22 -name "*.mod.*" \
23 -o -name ".*.rej" \
24 -o -name "*%" \
25 -o -name ".*.cmd" \
26 -o -name "*.bak" \
27 -o -name "Module.symvers" \
28 -o -name "modules.order" \
29 -o -name "*.o" \
30 -o -name "*.ko" | xargs rm -f
31