swconfig: cleanup of kernel drivers and interface
[openwrt.git] / target / linux / generic / files / drivers / pwm / Makefile
index 1c0e98e35784fdd8d54345cd3407bc7d967a17f7..af22041bf2b26ee1f0efeec1a4dec5e302ac7b0f 100644 (file)
@@ -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