summaryrefslogtreecommitdiff
path: root/components/fal/SConscript
diff options
context:
space:
mode:
authorLiuKang <[email protected]>2022-03-15 09:48:05 +0800
committerGitHub <[email protected]>2022-03-15 09:48:05 +0800
commit75a7cb69292243adfdff15722ea9b07b1642438c (patch)
treee7a821c516b1d72cd4856e49525a8f60c653120a /components/fal/SConscript
parent3b1445d49c316a73d53f5d9550a2a20d65282f76 (diff)
[update] add fal component. (#5662)
* [update] add fal component. * [update] format code. * [update] change PKG_USING_FAL to RT_USING_FAL * [update] format code. * [update] fal * [update] delete FAL_SW_VERSION
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')