targets: add USES_PM auto-feature
Not all targets support power management, some older or more simple targets don't have CONFIG_PM set. Allow kernel module packages to depend on USES_PM to only be available on targets which got CONFIG_PM=y in their kernel config. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
@@ -51,6 +51,9 @@ config RTC_SUPPORT
|
||||
config BIG_ENDIAN
|
||||
bool
|
||||
|
||||
config USES_PM
|
||||
bool
|
||||
|
||||
config USES_DEVICETREE
|
||||
bool
|
||||
|
||||
|
||||
Reference in New Issue
Block a user