mirror of
https://github.com/buildwithparallel/openwrt
synced 2026-08-10 21:35:45 -04:00
19 lines
468 B
Makefile
19 lines
468 B
Makefile
|
|
OTHER_MENU:=Other modules
|
||
|
|
|
||
|
|
define KernelPackage/pwm-gpio
|
||
|
|
SUBMENU:=Other modules
|
||
|
|
TITLE:=PWM GPIO Support
|
||
|
|
KCONFIG:= \
|
||
|
|
CONFIG_PWM=y \
|
||
|
|
CONFIG_PWM_GPIO \
|
||
|
|
CONFIG_PWM_SYSFS=y
|
||
|
|
FILES:= \
|
||
|
|
$(LINUX_DIR)/drivers/pwm/pwm-gpio.ko
|
||
|
|
AUTOLOAD:=$(call AutoLoad,30,pwm-gpio)
|
||
|
|
endef
|
||
|
|
|
||
|
|
define KernelPackage/pwm-gpio/description
|
||
|
|
Generic PWM framework driver for a software PWM toggling a GPIO pin from kernel high-resolution timers.
|
||
|
|
endef
|
||
|
|
|
||
|
|
$(eval $(call KernelPackage,pwm-gpio))
|