Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions components/drivers/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ rsource "block/Kconfig"
rsource "scsi/Kconfig"
rsource "regulator/Kconfig"
rsource "reset/Kconfig"
rsource "pmdomain/Kconfig"
rsource "thermal/Kconfig"
rsource "virtio/Kconfig"
rsource "dma/Kconfig"
Expand Down
6 changes: 6 additions & 0 deletions components/drivers/pmdomain/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
if RT_USING_DM
menu "Power Management (PM) Domains device drivers"

osource "$(SOC_DM_PMDOMAIN_DIR)/Kconfig"
endmenu
endif
15 changes: 15 additions & 0 deletions components/drivers/pmdomain/SConscript
Original file line number Diff line number Diff line change
@@ -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')