mirror of
https://github.com/immortalwrt/immortalwrt.git
synced 2025-08-11 06:11:53 +08:00
build: define PWM_SUPPORT arch feature flag
As the PWM has its own sub-system in the Linux kernel, I think it should be handled in the same way as GPIO, RTC, PCI... This patch introduces a specific feature flag "pwm" and the "leds-pwm" kernel module as the first customer. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
This commit is contained in:
@ -20,6 +20,7 @@ sub target_config_features(@) {
|
||||
/^usb$/ and $ret .= "\tselect USB_SUPPORT\n";
|
||||
/^usbgadget$/ and $ret .= "\tselect USB_GADGET_SUPPORT\n";
|
||||
/^pcmcia$/ and $ret .= "\tselect PCMCIA_SUPPORT\n";
|
||||
/^pwm$/ and $ret .= "\select PWM_SUPPORT\n";
|
||||
/^rtc$/ and $ret .= "\tselect RTC_SUPPORT\n";
|
||||
/^squashfs$/ and $ret .= "\tselect USES_SQUASHFS\n";
|
||||
/^jffs2$/ and $ret .= "\tselect USES_JFFS2\n";
|
||||
|
Reference in New Issue
Block a user