summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2014-11-09 23:11:32 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2014-11-09 23:11:32 +0100
commitbe79b45f8c84bf6e685b408b2693f21d75d869c4 (patch)
treea97fcf1cd5472897c53d8e4ff8b0363b182aa479 /SConstruct
parent57e93ec2ed70c6b433d33d4951d8a20f4154c640 (diff)
Moved files for each firmware build to its own directory.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct6
1 files changed, 3 insertions, 3 deletions
diff --git a/SConstruct b/SConstruct
index 0c60496..0858f10 100644
--- a/SConstruct
+++ b/SConstruct
@@ -8,8 +8,8 @@ SConscript('laks/build_rules')
env.SelectMCU('stm32f303rc')
-env.Firmware('arcin.elf', ['main.cpp'], LINK_SCRIPT = 'arcin.ld')
+env.Firmware('arcin.elf', Glob('arcin/*.cpp'), LINK_SCRIPT = 'arcin/arcin.ld')
-env.Firmware('bootloader.elf', ['bootloader.cpp'], LINK_SCRIPT = 'bootloader.ld')
+env.Firmware('bootloader.elf', Glob('bootloader/*.cpp'), LINK_SCRIPT = 'bootloader/bootloader.ld')
-env.Firmware('test.elf', ['test.cpp'])
+env.Firmware('test.elf', Glob('test/*.cpp'))