1 1.11 thorpej # $NetBSD: Makefile.evbarm.inc,v 1.11 2002/03/27 21:51:28 thorpej Exp $ 2 1.9 thorpej 3 1.9 thorpej SYSTEM_LD_TAIL_EXTRA=; \ 4 1.9 thorpej echo "${DBSYM} $@ || true"; \ 5 1.9 thorpej ${DBSYM} $@ || true 6 1.1 rearnsha 7 1.1 rearnsha .if (${BOARDTYPE} == "integrator") 8 1.5 thorpej GENASSYM_EXTRAS+= ${THISARM}/ifpga/genassym.cf 9 1.1 rearnsha SYSTEM_FIRST_OBJ= intmmu.o 10 1.4 lukem SYSTEM_FIRST_SFILE= ${THISARM}/integrator/intmmu.S 11 1.2 thorpej .endif 12 1.3 thorpej 13 1.2 thorpej .if (${BOARDTYPE} == "iq80310") 14 1.10 thorpej SYSTEM_FIRST_OBJ= iq80310_start.o 15 1.10 thorpej SYSTEM_FIRST_SFILE= ${THISARM}/iq80310/iq80310_start.S 16 1.10 thorpej 17 1.10 thorpej LINKFLAGS= -T ${THISARM}/conf/ldscript.iq80310 18 1.11 thorpej 19 1.11 thorpej SYSTEM_LD_TAIL_EXTRA+=; \ 20 1.11 thorpej echo ${OBJCOPY} -S -O srec $@ $@.srec; \ 21 1.11 thorpej ${OBJCOPY} -S -O srec $@ $@.srec; \ 22 1.11 thorpej echo ${OBJCOPY} -S -O binary $@ $@.bin; \ 23 1.11 thorpej ${OBJCOPY} -S -O binary $@ $@.bin 24 1.11 thorpej 25 1.11 thorpej EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.srec@} 26 1.11 thorpej EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.bin@} 27 1.11 thorpej .endif 28 1.11 thorpej 29 1.11 thorpej .if (${BOARDTYPE} == "iq80321") 30 1.11 thorpej SYSTEM_FIRST_OBJ= iq80321_start.o 31 1.11 thorpej SYSTEM_FIRST_SFILE= ${THISARM}/iq80321/iq80321_start.S 32 1.11 thorpej 33 1.11 thorpej LINKFLAGS= -T ${THISARM}/conf/ldscript.iq80321 34 1.10 thorpej 35 1.3 thorpej SYSTEM_LD_TAIL_EXTRA+=; \ 36 1.2 thorpej echo ${OBJCOPY} -S -O srec $@ $@.srec; \ 37 1.8 thorpej ${OBJCOPY} -S -O srec $@ $@.srec; \ 38 1.8 thorpej echo ${OBJCOPY} -S -O binary $@ $@.bin; \ 39 1.8 thorpej ${OBJCOPY} -S -O binary $@ $@.bin 40 1.10 thorpej 41 1.6 atatat EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.srec@} 42 1.8 thorpej EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.bin@} 43 1.1 rearnsha .endif 44