aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers/pwm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic/files/drivers/pwm/Makefile')
-rw-r--r--target/linux/generic/files/drivers/pwm/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/files/drivers/pwm/Makefile b/target/linux/generic/files/drivers/pwm/Makefile
index 1c0e98e357..af22041bf2 100644
--- a/target/linux/generic/files/drivers/pwm/Makefile
+++ b/target/linux/generic/files/drivers/pwm/Makefile
@@ -1,6 +1,6 @@
#
# Makefile for pwm devices
#
-obj-y := pwm.o
+obj-$(CONFIG_GENERIC_PWM) := pwm.o
obj-$(CONFIG_ATMEL_PWM) += atmel-pwm.o
obj-$(CONFIG_GPIO_PWM) += gpio-pwm.o