# $NetBSD: mk.generic,v 1.10 2020/08/29 19:06:18 jakllsch Exp $ .if !empty(MACHINE_ARCH:M*eb) EXTRA_LINKFLAGS+= --be8 .endif ENTRYPOINT= generic_start SYSTEM_FIRST_OBJ= armv6_start.o SYSTEM_FIRST_SFILE= ${ARM}/arm/armv6_start.S _OSRELEASE!= ${HOST_SH} $S/conf/osrelease.sh MKUBOOTIMAGEARGS= -A arm -T kernel_noload -O linux -C none MKUBOOTIMAGEARGS+= -e 0 MKUBOOTIMAGEARGS+= -n "NetBSD/${BOARDTYPE:U${MACHINE_ARCH}} ${_OSRELEASE}" SYSTEM_LD_TAIL_EXTRA+=; \ echo ${OBJCOPY} -S -O binary $@ $@.img; \ ${OBJCOPY} -S -O binary $@ $@.img; \ echo ${TOOL_MKUBOOTIMAGE} ${MKUBOOTIMAGEARGS} $@.img $@.ub; \ ${TOOL_MKUBOOTIMAGE} ${MKUBOOTIMAGEARGS} $@.img $@.ub EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.img@} EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.ub@} |