mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-11-27 16:14:13 +01:00
cleanup cic build
This commit is contained in:
parent
bd7040213a
commit
e0721892b1
@ -103,7 +103,7 @@ module n64_cic (
|
||||
end
|
||||
|
||||
initial begin
|
||||
$readmemh("../../../sw/cic/cic.mem", ram);
|
||||
$readmemh("../../../sw/cic/build/cic.mem", ram);
|
||||
end
|
||||
|
||||
|
||||
|
5
sw/cic/.gitignore
vendored
5
sw/cic/.gitignore
vendored
@ -1,4 +1 @@
|
||||
*.bin
|
||||
*.elf
|
||||
*.lst
|
||||
*.mem
|
||||
/build
|
||||
|
@ -20,14 +20,15 @@ CFLAGS=" \
|
||||
|
||||
case "$1" in
|
||||
all)
|
||||
${TOOLCHAIN}gcc $CFLAGS -T cic.ld -o cic.elf startup.S cic.c
|
||||
mkdir -p ./build
|
||||
${TOOLCHAIN}gcc $CFLAGS -T cic.ld -o ./build/cic.elf startup.S cic.c
|
||||
echo "Size of cic:"
|
||||
${TOOLCHAIN}size -B -d cic.elf
|
||||
${TOOLCHAIN}objdump -S -D cic.elf > cic.lst
|
||||
${TOOLCHAIN}objcopy -O binary cic.elf cic.bin
|
||||
python3 ./convert.py cic.bin cic.mem
|
||||
${TOOLCHAIN}size -B -d ./build/cic.elf
|
||||
${TOOLCHAIN}objdump -S -D ./build/cic.elf > ./build/cic.lst
|
||||
${TOOLCHAIN}objcopy -O binary ./build/cic.elf ./build/cic.bin
|
||||
python3 ./convert.py ./build/cic.bin ./build/cic.mem
|
||||
;;
|
||||
clean)
|
||||
rm -f cic.elf cic.lst cic.bin cic.mem
|
||||
rm -rf ./build/*
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user