summaryrefslogtreecommitdiff
path: root/Makefile (plain)
blob: fe904ca1185c708a095eb938a4913d076b5a1ee9
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
10CONFIG_AMLOGIC_THERMAL=m
11obj-$(CONFIG_AMLOGIC_THERMAL)+= aml_thermal.o
12
13$(obj)/amlogic_thermal.o: $(obj)/thermal_clean FORCE
14
15aml_thermal-objs =
16aml_thermal-objs += amlogic_thermal.o
17aml_thermal-objs += amlogic_thermal_module.o
18
19clean:
20 @find $(srctree) \
21 -name "*.mod.*" \
22 -o -name ".*.rej" \
23 -o -name "*%" \
24 -o -name ".*.cmd" \
25 -o -name "*.bak" \
26 -o -name "Module.symvers" \
27 -o -name "modules.order" \
28 -o -name "*.o" \
29 -o -name "*.ko" | xargs rm -f
30