From f19d1bf238c31b0d56fc6d676cd065334a93ba57 Mon Sep 17 00:00:00 2001 From: cheapie Date: Fri, 13 Nov 2026 07:16:56 -0600 Subject: Make passworddoor do some more silly trickery because yes --- assembly/passworddoor/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'assembly/passworddoor/Makefile') 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 -- cgit v1.2.3