target.mk: Fix features detection for PWM
authorWeikai Kong <[email protected]>
Sat, 15 Mar 2025 17:09:54 +0000 (13:09 -0400)
committerRobert Marko <[email protected]>
Fri, 28 Mar 2025 11:38:33 +0000 (12:38 +0100)
commit2adc6293f4fc21e264e079126e1395ec9812147d
treed67e8300e17b4da1bd59e781835a7a4945620a3d
parent284f37ed807dfac5e46cae0baf1e00a2e445e41c
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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18185
Signed-off-by: Robert Marko <[email protected]>
include/target.mk