summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2015-09-28 02:39:24 -0700
committeriximeow <me@iximeow.net>2015-09-28 03:36:28 -0700
commitafeac47a0192e0124006e13d6a098668903589fb (patch)
tree00a5333fae549ff29b5bb740edbf33194bc4f1e7 /build
parent766583fff1012b6c9c7eac59d4df002cf253b160 (diff)
build hacks to support multi-file builds
Diffstat (limited to 'build')
-rwxr-xr-xbuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/build b/build
index 8ce32ef..5ed4d4b 100755
--- a/build
+++ b/build
@@ -2,10 +2,8 @@
set -u
set -e
-sources=$(find src -type f)
-for source in $sources; do
- build_helpers/compile.sh "$source"
-done
+sources=$(find src -type f -name "*.c")
+build_helpers/compile.sh "$sources"
build_helpers/bootloader.sh
build_helpers/splicetobootsect.sh bin/bootloader.bin