summaryrefslogtreecommitdiff
path: root/build.rs
diff options
context:
space:
mode:
authorDario Bartussek <[email protected]>2021-03-28 17:55:19 +0200
committerDario Bartussek <[email protected]>2021-03-28 17:55:19 +0200
commit285074235fe0d34660cbbf61acfe7af4b2bed79b (patch)
tree7a56d65d0c6f61534d7d79c7d1cb4f0796a43b9b /build.rs
parentUpdated main to actually produce a start function (diff)
downloadrust_3ds-285074235fe0d34660cbbf61acfe7af4b2bed79b.tar.xz
rust_3ds-285074235fe0d34660cbbf61acfe7af4b2bed79b.zip
Added ROM header generation assembly
Diffstat (limited to 'build.rs')
-rw-r--r--build.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/build.rs b/build.rs
new file mode 100644
index 0000000..5a33378
--- /dev/null
+++ b/build.rs
@@ -0,0 +1,7 @@
+fn main() {
+ cc::Build::new()
+ .target("arm-none-eabihf")
+ .compiler("clang")
+ .file("src/start.s")
+ .compile("start");
+}