summaryrefslogtreecommitdiff
path: root/drivers/hwmon/occ/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/occ/Makefile')
-rw-r--r--drivers/hwmon/occ/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/hwmon/occ/Makefile b/drivers/hwmon/occ/Makefile
new file mode 100644
index 000000000000..3fec12ddc7e7
--- /dev/null
+++ b/drivers/hwmon/occ/Makefile
@@ -0,0 +1,5 @@
+occ-p8-hwmon-objs := common.o sysfs.o p8_i2c.o
+occ-p9-hwmon-objs := common.o sysfs.o p9_sbe.o
+
+obj-$(CONFIG_SENSORS_OCC_P8_I2C) += occ-p8-hwmon.o
+obj-$(CONFIG_SENSORS_OCC_P9_SBE) += occ-p9-hwmon.o