summaryrefslogtreecommitdiff
path: root/components/drivers/tee/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'components/drivers/tee/SConscript')
-rwxr-xr-xcomponents/drivers/tee/SConscript21
1 files changed, 21 insertions, 0 deletions
diff --git a/components/drivers/tee/SConscript b/components/drivers/tee/SConscript
new file mode 100755
index 0000000000..18abc56437
--- /dev/null
+++ b/components/drivers/tee/SConscript
@@ -0,0 +1,21 @@
+from building import *
+
+group = []
+
+if not GetDepend(['RT_USING_TEE']):
+ Return('group')
+
+cwd = GetCurrentDir()
+list = os.listdir(cwd)
+CPPPATH = [cwd + '/../include']
+
+src = ['tee.c']
+
+group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
+
+for d in list:
+ path = os.path.join(cwd, d)
+ if os.path.isfile(os.path.join(path, 'SConscript')):
+ group = group + SConscript(os.path.join(d, 'SConscript'))
+
+Return('group')