URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [mp3/] [sw/] [mmu/] [Makefile] - Rev 1775
Go to most recent revision | Compare with Previous | Blame | View Log
common = ../support/except.o ../support/support.o
cases = dmmu-nocache dmmu-dc dmmu-ic dmmu-icdc immu-nocache immu-dc immu-ic immu-icdc
all: $(cases)
dmmu-nocache: $(common) dmmu.o ../support/reset-nocache.o
or32-rtems-ld -T ../support/xess-flash.ld $? -o $@.or32
or32-rtems-objcopy -O binary $@.or32 $@.bin
../utils/bin2srec $@.bin > $@.srec
../utils/bin2hex $@.bin > $@.hex
cp $@.hex ../../sim/src/$@.mem
dmmu-dc: $(common) dmmu.o ../support/reset-dc.o
or32-rtems-ld -T ../support/xess-flash.ld $? -o $@.or32
or32-rtems-objcopy -O binary $@.or32 $@.bin
../utils/bin2srec $@.bin > $@.srec
../utils/bin2hex $@.bin > $@.hex
cp $@.hex ../../sim/src/$@.mem
dmmu-ic: $(common) dmmu.o ../support/reset-ic.o
or32-rtems-ld -T ../support/xess-flash.ld $? -o $@.or32
or32-rtems-objcopy -O binary $@.or32 $@.bin
../utils/bin2srec $@.bin > $@.srec
../utils/bin2hex $@.bin > $@.hex
cp $@.hex ../../sim/src/$@.mem
dmmu-icdc: $(common) dmmu.o ../support/reset-icdc.o
or32-rtems-ld -T ../support/xess-flash.ld $? -o $@.or32
or32-rtems-objcopy -O binary $@.or32 $@.bin
../utils/bin2srec $@.bin > $@.srec
../utils/bin2hex $@.bin > $@.hex
cp $@.hex ../../sim/src/$@.mem
immu-nocache: $(common) immu.o ../support/reset-nocache.o
or32-rtems-ld -T ../support/xess-flash.ld $? -o $@.or32
or32-rtems-objcopy -O binary $@.or32 $@.bin
../utils/bin2srec $@.bin > $@.srec
../utils/bin2hex $@.bin > $@.hex
cp $@.hex ../../sim/src/$@.mem
immu-dc: $(common) immu.o ../support/reset-dc.o
or32-rtems-ld -T ../support/xess-flash.ld $? -o $@.or32
or32-rtems-objcopy -O binary $@.or32 $@.bin
../utils/bin2srec $@.bin > $@.srec
../utils/bin2hex $@.bin > $@.hex
cp $@.hex ../../sim/src/$@.mem
immu-ic: $(common) immu.o ../support/reset-ic.o
or32-rtems-ld -T ../support/xess-flash.ld $? -o $@.or32
or32-rtems-objcopy -O binary $@.or32 $@.bin
../utils/bin2srec $@.bin > $@.srec
../utils/bin2hex $@.bin > $@.hex
cp $@.hex ../../sim/src/$@.mem
immu-icdc: $(common) immu.o ../support/reset-icdc.o
or32-rtems-ld -T ../support/xess-flash.ld $? -o $@.or32
or32-rtems-objcopy -O binary $@.or32 $@.bin
../utils/bin2srec $@.bin > $@.srec
../utils/bin2hex $@.bin > $@.hex
cp $@.hex ../../sim/src/$@.mem
dmmu.o: dmmu.S
or32-rtems-gcc -O0 $? -c -o $@
immu.o: immu.S
or32-rtems-gcc -O0 $? -c -o $@
clean:
rm -f *.o *.or32 *.log *.bin *.srec *.hex
Go to most recent revision | Compare with Previous | Blame | View Log