Add debug info, strip prefix
This commit is contained in:
parent
e21ce5249f
commit
496120e89f
@ -5,14 +5,14 @@ Remove-Item -Force bin/*.a
|
|||||||
|
|
||||||
$crate = "vexriscv"
|
$crate = "vexriscv"
|
||||||
|
|
||||||
riscv64-unknown-elf-gcc -c -mabi=ilp32 -march=rv32imac asm.S -o bin/$crate.o
|
riscv64-unknown-elf-gcc -ggdb3 -fdebug-prefix-map=$pwd=/vexriscv -c -mabi=ilp32 -march=rv32imac asm.S -o bin/$crate.o
|
||||||
riscv64-unknown-elf-ar crs bin/riscv32imac-unknown-none-elf.a bin/$crate.o
|
riscv64-unknown-elf-ar crs bin/riscv32imac-unknown-none-elf.a bin/$crate.o
|
||||||
riscv64-unknown-elf-ar crs bin/riscv32imc-unknown-none-elf.a bin/$crate.o
|
riscv64-unknown-elf-ar crs bin/riscv32imc-unknown-none-elf.a bin/$crate.o
|
||||||
|
|
||||||
riscv64-unknown-elf-gcc -c -mabi=ilp32 -march=rv32i asm.S -DSKIP_MULTICORE -o bin/$crate.o
|
riscv64-unknown-elf-gcc -ggdb3 -fdebug-prefix-map=$pwd=/vexriscv -c -mabi=ilp32 -march=rv32i asm.S -DSKIP_MULTICORE -o bin/$crate.o
|
||||||
riscv64-unknown-elf-ar crs bin/riscv32i-unknown-none-elf.a bin/$crate.o
|
riscv64-unknown-elf-ar crs bin/riscv32i-unknown-none-elf.a bin/$crate.o
|
||||||
|
|
||||||
riscv64-unknown-elf-gcc -c -mabi=lp64 -march=rv64imac asm.S -o bin/$crate.o
|
riscv64-unknown-elf-gcc -ggdb3 -fdebug-prefix-map=$pwd=/vexriscv -c -mabi=lp64 -march=rv64imac asm.S -o bin/$crate.o
|
||||||
riscv64-unknown-elf-ar crs bin/riscv64imac-unknown-none-elf.a bin/$crate.o
|
riscv64-unknown-elf-ar crs bin/riscv64imac-unknown-none-elf.a bin/$crate.o
|
||||||
riscv64-unknown-elf-ar crs bin/riscv64gc-unknown-none-elf.a bin/$crate.o
|
riscv64-unknown-elf-ar crs bin/riscv64gc-unknown-none-elf.a bin/$crate.o
|
||||||
|
|
||||||
|
@ -7,14 +7,14 @@ crate=vexriscv
|
|||||||
# remove existing blobs because otherwise this will append object files to the old blobs
|
# remove existing blobs because otherwise this will append object files to the old blobs
|
||||||
rm -f bin/*.a
|
rm -f bin/*.a
|
||||||
|
|
||||||
riscv64-unknown-elf-gcc -c -mabi=ilp32 -march=rv32imac asm.S -o bin/$crate.o
|
riscv64-unknown-elf-gcc -ggdb3 -fdebug-prefix-map=$(pwd)=/vexriscv -c -mabi=ilp32 -march=rv32imac asm.S -o bin/$crate.o
|
||||||
ar crs bin/riscv32imac-unknown-none-elf.a bin/$crate.o
|
ar crs bin/riscv32imac-unknown-none-elf.a bin/$crate.o
|
||||||
ar crs bin/riscv32imc-unknown-none-elf.a bin/$crate.o
|
ar crs bin/riscv32imc-unknown-none-elf.a bin/$crate.o
|
||||||
|
|
||||||
riscv64-unknown-elf-gcc -c -mabi=ilp32 -march=rv32i asm.S -DSKIP_MULTICORE -o bin/$crate.o
|
riscv64-unknown-elf-gcc -ggdb3 -fdebug-prefix-map=$(pwd)=/vexriscv -c -mabi=ilp32 -march=rv32i asm.S -DSKIP_MULTICORE -o bin/$crate.o
|
||||||
ar crs bin/riscv32i-unknown-none-elf.a bin/$crate.o
|
ar crs bin/riscv32i-unknown-none-elf.a bin/$crate.o
|
||||||
|
|
||||||
riscv64-unknown-elf-gcc -c -mabi=lp64 -march=rv64imac asm.S -o bin/$crate.o
|
riscv64-unknown-elf-gcc -ggdb3 -fdebug-prefix-map=$(pwd)=/vexriscv -c -mabi=lp64 -march=rv64imac asm.S -o bin/$crate.o
|
||||||
ar crs bin/riscv64imac-unknown-none-elf.a bin/$crate.o
|
ar crs bin/riscv64imac-unknown-none-elf.a bin/$crate.o
|
||||||
ar crs bin/riscv64gc-unknown-none-elf.a bin/$crate.o
|
ar crs bin/riscv64gc-unknown-none-elf.a bin/$crate.o
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user