summaryrefslogtreecommitdiff
path: root/components/fal/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'components/fal/SConscript')
-rw-r--r--components/fal/SConscript14
1 files changed, 14 insertions, 0 deletions
diff --git a/components/fal/SConscript b/components/fal/SConscript
new file mode 100644
index 0000000000..0d0835abdb
--- /dev/null
+++ b/components/fal/SConscript
@@ -0,0 +1,14 @@
+
+from building import *
+import rtconfig
+
+cwd = GetCurrentDir()
+src = Glob('src/*.c')
+CPPPATH = [cwd + '/inc']
+
+if GetDepend(['FAL_USING_SFUD_PORT']):
+ src += Glob('samples/porting/fal_flash_sfud_port.c')
+
+group = DefineGroup('Fal', src, depend = ['RT_USING_FAL'], CPPPATH = CPPPATH)
+
+Return('group')