diff options
| author | Nathan Lee <me@nwlee.tech> | 2026-07-12 12:42:31 -0500 |
|---|---|---|
| committer | Nathan Lee <me@nwlee.tech> | 2026-07-12 12:45:05 -0500 |
| commit | 24fdac29fb8a1c7766869b05e7a17b2c4cc98ce1 (patch) | |
| tree | 6fddf53527e7ab52e089b620bcdbcba5fa67daa3 /Makefile | |
| parent | 5d9942d70ca61af4d12cd2a531a190c98052c9c4 (diff) | |
create elf.h
The ELF parser needs more work, there are more structs to be added.
memcpy was refactored from mem.h into common.h
endianness conversions were standardized in types.h
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -3,9 +3,10 @@ LD = ld.lld OBJCOPY = llvm-objcopy ARCH_FLAG = \ - --target=riscv32-unknown-elf \ - -march=rv32im \ - -mabi=ilp32 + --target=riscv32-unknown-elf \ + -march=rv32im \ + -mabi=ilp32 \ + -D__SYS_LITTLE_ENDIAN__ COMMON_FLAGS = \ |
