summaryrefslogtreecommitdiff
path: root/startup/SConscript
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2022-09-10 20:18:42 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2022-09-10 20:18:42 +0200
commit23a2994e051488561294050993f16162f24a85e7 (patch)
tree521ca72c19d7db7ee65beb2051b9843b3deb5a0c /startup/SConscript
parent51c91e98efc5a6ae1ee59f3fff44971a60c7f94d (diff)
startup: Add RISC-V reset handler.
Diffstat (limited to 'startup/SConscript')
-rw-r--r--startup/SConscript12
1 files changed, 12 insertions, 0 deletions
diff --git a/startup/SConscript b/startup/SConscript
new file mode 100644
index 0000000..971f9fa
--- /dev/null
+++ b/startup/SConscript
@@ -0,0 +1,12 @@
+Import('env')
+
+sources = [
+ File('entry.cpp'),
+]
+
+startup = env['PLATFORM_SPEC'].get('startup', [])
+
+for file in startup:
+ sources.append(File(f'{file}.cpp'))
+
+Return('sources')