am,mips32-npc,img,build: do not generate coe files

* else there will be a large gap between the loader segment and the text
  segment, leading to a coe file with hugh size
This commit is contained in:
yzh 2017-06-01 22:42:39 +08:00
parent 3698346085
commit 0aafdfc6a9
1 changed files with 3 additions and 5 deletions

View File

@ -6,9 +6,7 @@ shift
bash -c "cd $DIR/boot && make" bash -c "cd $DIR/boot && make"
mips-linux-gnu-ld -EL -T $DIR/loader.ld -e _start -o ${DEST}.o $DIR/boot/start.o --start-group $@ --end-group && \ mips-linux-gnu-ld -EL -T $DIR/loader.ld -e _start -o ${DEST} $DIR/boot/start.o --start-group $@ --end-group && \
mips-linux-gnu-objdump -d ${DEST}.o > ${DEST}.code.txt && \ mips-linux-gnu-objdump -d ${DEST} > ${DEST}.code.txt && \
mips-linux-gnu-objcopy -O binary ${DEST}.o ${DEST}.bin && \ mips-linux-gnu-objdump -d ${DEST} | python $DIR/scripts/instr_check.py
python $DIR/scripts/gen_bram_coe.py ${DEST}.bin ${DEST}.coe && \
mips-linux-gnu-objdump -d ${DEST}.o | python $DIR/scripts/instr_check.py