# $NetBSD: mk.hawk,v 1.1 2013/10/02 16:48:26 matt Exp $ # CFLAGS+=-mcpu=arm926ej-s SYSTEM_FIRST_OBJ= hawk_start.o SYSTEM_FIRST_SFILE= ${THISARM}/hawk/hawk_start.S _OSRELEASE!= ${HOST_SH} $S/conf/osrelease.sh MKUBOOTIMAGEARGS= -A arm -T kernel MKUBOOTIMAGEARGS+= -a $(LOADADDRESS) -e $(LOADADDRESS) MKUBOOTIMAGEARGS+= -n "NetBSD/$(BOARDTYPE) ${_OSRELEASE}" MKUBOOTIMAGEARGS_NONE= ${MKUBOOTIMAGEARGS} -C none SYSTEM_LD_TAIL_EXTRA+=; \ echo ${OBJCOPY} -S -O binary $@ $@.bin; \ ${OBJCOPY} -S -O binary $@ $@.bin; \ echo ${TOOL_MKUBOOTIMAGE} ${MKUBOOTIMAGEARGS_NONE} $@.bin $@.ub; \ ${TOOL_MKUBOOTIMAGE} ${MKUBOOTIMAGEARGS_NONE} $@.bin $@.ub EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.bin@} EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.ub@} |