Skip to content

Commit 088bb87

Browse files
committed
[dm][firmware] support QEMU fw config
Signed-off-by: GuEe-GUI <2991707448@qq.com>
1 parent e74bdae commit 088bb87

File tree

4 files changed

+647
-0
lines changed

4 files changed

+647
-0
lines changed

components/drivers/firmware/Kconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ menuconfig RT_USING_FIRMWARE
33
depends on RT_USING_DM
44
default n
55

6+
config RT_FIRMWARE_QEMU_FW_CFG
7+
bool "QEMU Firmware Configuration"
8+
depends on RT_USING_FIRMWARE
9+
default n
10+
611
if RT_USING_FIRMWARE
712
rsource "arm_scmi/Kconfig"
813
osource "$(SOC_DM_FIRMWARE_DIR)/Kconfig"
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_FIRMWARE_QEMU_FW_CFG']):
6+
Return('group')
7+
8+
cwd = GetCurrentDir()
9+
CPPPATH = [cwd + '/../../include']
10+
11+
src = Glob('*.c')
12+
13+
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
14+
15+
Return('group')

0 commit comments

Comments
 (0)