[dm][pmdomain] make DM Kconfig import

Signed-off-by: GuEe-GUI <2991707448@qq.com>
This commit is contained in:
GuEe-GUI
2025-12-12 16:12:31 +08:00
committed by R b b666
parent 170069b292
commit af0e513bef
3 changed files with 22 additions and 0 deletions

View File

@@ -32,6 +32,7 @@ rsource "block/Kconfig"
rsource "scsi/Kconfig"
rsource "regulator/Kconfig"
rsource "reset/Kconfig"
rsource "pmdomain/Kconfig"
rsource "thermal/Kconfig"
rsource "virtio/Kconfig"
rsource "nvmem/Kconfig"

View File

@@ -0,0 +1,6 @@
if RT_USING_DM
menu "Power Management (PM) Domains device drivers"
osource "$(SOC_DM_PMDOMAIN_DIR)/Kconfig"
endmenu
endif

View File

@@ -0,0 +1,15 @@
from building import *
group = []
if not GetDepend(['RT_USING_DM']):
Return('group')
cwd = GetCurrentDir()
CPPPATH = [cwd + '/../include']
src = []
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
Return('group')