NetBSD/sys/arch/evbarm/conf/Makefile.evbarm.inc

44 lines
1.2 KiB
PHP

# $NetBSD: Makefile.evbarm.inc,v 1.11 2002/03/27 21:51:28 thorpej Exp $
SYSTEM_LD_TAIL_EXTRA=; \
echo "${DBSYM} $@ || true"; \
${DBSYM} $@ || true
.if (${BOARDTYPE} == "integrator")
GENASSYM_EXTRAS+= ${THISARM}/ifpga/genassym.cf
SYSTEM_FIRST_OBJ= intmmu.o
SYSTEM_FIRST_SFILE= ${THISARM}/integrator/intmmu.S
.endif
.if (${BOARDTYPE} == "iq80310")
SYSTEM_FIRST_OBJ= iq80310_start.o
SYSTEM_FIRST_SFILE= ${THISARM}/iq80310/iq80310_start.S
LINKFLAGS= -T ${THISARM}/conf/ldscript.iq80310
SYSTEM_LD_TAIL_EXTRA+=; \
echo ${OBJCOPY} -S -O srec $@ $@.srec; \
${OBJCOPY} -S -O srec $@ $@.srec; \
echo ${OBJCOPY} -S -O binary $@ $@.bin; \
${OBJCOPY} -S -O binary $@ $@.bin
EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.srec@}
EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.bin@}
.endif
.if (${BOARDTYPE} == "iq80321")
SYSTEM_FIRST_OBJ= iq80321_start.o
SYSTEM_FIRST_SFILE= ${THISARM}/iq80321/iq80321_start.S
LINKFLAGS= -T ${THISARM}/conf/ldscript.iq80321
SYSTEM_LD_TAIL_EXTRA+=; \
echo ${OBJCOPY} -S -O srec $@ $@.srec; \
${OBJCOPY} -S -O srec $@ $@.srec; \
echo ${OBJCOPY} -S -O binary $@ $@.bin; \
${OBJCOPY} -S -O binary $@ $@.bin
EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.srec@}
EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.bin@}
.endif