summaryrefslogtreecommitdiff
path: root/assembly/passworddoor/Makefile
diff options
context:
space:
mode:
authorcheapie <cheapiephp@gmail.com>2026-11-13 07:16:56 -0600
committercheapie <cheapiephp@gmail.com>2026-11-13 07:16:56 -0600
commitf19d1bf238c31b0d56fc6d676cd065334a93ba57 (patch)
tree85e3c8bba10bd13c2047875c977fe53ca44d564b /assembly/passworddoor/Makefile
parent08c992a191f83777373bb8584c57cbdccfcc8368 (diff)
downloadrvcontroller-f19d1bf238c31b0d56fc6d676cd065334a93ba57.tar
rvcontroller-f19d1bf238c31b0d56fc6d676cd065334a93ba57.tar.gz
rvcontroller-f19d1bf238c31b0d56fc6d676cd065334a93ba57.tar.bz2
rvcontroller-f19d1bf238c31b0d56fc6d676cd065334a93ba57.tar.xz
rvcontroller-f19d1bf238c31b0d56fc6d676cd065334a93ba57.zip
Make passworddoor do some more silly trickery because yes
Diffstat (limited to 'assembly/passworddoor/Makefile')
-rw-r--r--assembly/passworddoor/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/assembly/passworddoor/Makefile b/assembly/passworddoor/Makefile
index 735dda5..5a3c485 100644
--- a/assembly/passworddoor/Makefile
+++ b/assembly/passworddoor/Makefile
@@ -5,6 +5,9 @@ MARCH ?= rv32imacbzicboz_zicfilp_zicntr_zicond_zicsr_zifencei_zihintpause_zihpm_
all: passworddoor.hex
passworddoor.o: passworddoor.S sha256sum.S
+# Even if I did assemble these as two separate objects, I don't think there's any way to
+# link a big-endian and little-endian object together into the same executable, so just
+# lie to the assembler/linker and say it's all big-endian instead
riscv32be-none-elf-as -I../rvcontroller-libraries -march=${MARCH} -o passworddoor.o passworddoor.S
passworddoor.elf: passworddoor.o