mirror of
https://github.com/openwrt/openwrt.git
synced 2025-04-16 15:29:48 +00:00
target.mk: Fix features detection for PWM
kmod-leds-pwm depends on @PWM_SUPPORT, instead of adding pwm to the features env for specific targets, use the existing detection method. Signed-off-by: Weikai Kong <priv@pppig236.com> Link: https://github.com/openwrt/openwrt/pull/18185 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
284f37ed80
commit
2adc6293f4
@ -314,6 +314,9 @@ ifeq ($(DUMP),1)
|
||||
ifneq ($(CONFIG_PCIEPORTBUS),)
|
||||
FEATURES += pcie
|
||||
endif
|
||||
ifneq ($(CONFIG_PWM),)
|
||||
FEATURES += pwm
|
||||
endif
|
||||
ifneq ($(CONFIG_USB)$(CONFIG_USB_SUPPORT),)
|
||||
ifneq ($(CONFIG_USB_ARCH_HAS_HCD)$(CONFIG_USB_EHCI_HCD),)
|
||||
FEATURES += usb
|
||||
|
Loading…
x
Reference in New Issue
Block a user