summaryrefslogtreecommitdiff
path: root/bsp/rockchip/dm/hwspinlock/SConscript
diff options
context:
space:
mode:
authorGuEe-GUI <[email protected]>2026-01-05 17:19:12 +0800
committerR b b666 <[email protected]>2026-01-08 21:33:25 +0800
commit45fe9ee96b04a0f0ca8b4fb16cdc62ae1d41b619 (patch)
treed1859cd34d7465b4fee987b8125ce47be9e994eb /bsp/rockchip/dm/hwspinlock/SConscript
parentf671816aae2f13368b447c0f6702f7be01977d28 (diff)
[bsp][rockchip] Port to DM
RK3588/RK3576/RK356x/RK3308 Signed-off-by: GuEe-GUI <[email protected]>
Diffstat (limited to 'bsp/rockchip/dm/hwspinlock/SConscript')
-rwxr-xr-xbsp/rockchip/dm/hwspinlock/SConscript12
1 files changed, 12 insertions, 0 deletions
diff --git a/bsp/rockchip/dm/hwspinlock/SConscript b/bsp/rockchip/dm/hwspinlock/SConscript
new file mode 100755
index 0000000000..74b9bcb3e4
--- /dev/null
+++ b/bsp/rockchip/dm/hwspinlock/SConscript
@@ -0,0 +1,12 @@
+from building import *
+
+cwd = GetCurrentDir()
+src = []
+CPPPATH = [cwd + '/../include', cwd + '/../../../../components/drivers/hwspinlock']
+
+if GetDepend(['RT_HWSPINLOCK_ROCKCHIP']):
+ src += ['hwspinlock-rockchip.c']
+
+group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
+
+Return('group')