Skip to content

Commit af0e513

Browse files
GuEe-GUIRbb666
authored andcommitted
[dm][pmdomain] make DM Kconfig import
Signed-off-by: GuEe-GUI <[email protected]>
1 parent 170069b commit af0e513

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

components/drivers/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ rsource "block/Kconfig"
3232
rsource "scsi/Kconfig"
3333
rsource "regulator/Kconfig"
3434
rsource "reset/Kconfig"
35+
rsource "pmdomain/Kconfig"
3536
rsource "thermal/Kconfig"
3637
rsource "virtio/Kconfig"
3738
rsource "nvmem/Kconfig"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
if RT_USING_DM
2+
menu "Power Management (PM) Domains device drivers"
3+
4+
osource "$(SOC_DM_PMDOMAIN_DIR)/Kconfig"
5+
endmenu
6+
endif
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
from building import *
2+
3+
group = []
4+
5+
if not GetDepend(['RT_USING_DM']):
6+
Return('group')
7+
8+
cwd = GetCurrentDir()
9+
CPPPATH = [cwd + '/../include']
10+
11+
src = []
12+
13+
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
14+
15+
Return('group')

0 commit comments

Comments
 (0)