diff --git a/sys/arch/evbarm/conf/mk.gumstix b/sys/arch/evbarm/conf/mk.gumstix index 348a9b86f1a1..bb3122e73d36 100644 --- a/sys/arch/evbarm/conf/mk.gumstix +++ b/sys/arch/evbarm/conf/mk.gumstix @@ -1,4 +1,4 @@ -# $NetBSD: mk.gumstix,v 1.4 2011/06/30 18:20:24 matt Exp $ +# $NetBSD: mk.gumstix,v 1.5 2016/04/19 12:02:55 kiyohara Exp $ SYSTEM_FIRST_OBJ= gumstix_start.o SYSTEM_FIRST_SFILE= ${THISARM}/gumstix/gumstix_start.S @@ -18,25 +18,25 @@ MKUBOOTIMAGEARGS+= -n "NetBSD/$(BOARDTYPE) ${_OSRELEASE}" MKUBOOTIMAGEARGS_NONE= ${MKUBOOTIMAGEARGS} -C none MKUBOOTIMAGEARGS_GZ= ${MKUBOOTIMAGEARGS} -C gz -# -# U-boot that operates with old basix/connex has some bugs. -# 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; \ echo ${TOOL_GZIP} -c $@.bin > $@.bin.gz; \ ${TOOL_GZIP} -c $@.bin > $@.bin.gz; \ echo ${TOOL_MKUBOOTIMAGE} ${MKUBOOTIMAGEARGS_GZ} $@.bin.gz $@.gz.ub; \ ${TOOL_MKUBOOTIMAGE} ${MKUBOOTIMAGEARGS_GZ} $@.bin.gz $@.gz.ub +# +# U-boot that operates with old basix/connex has some bugs. +# .if ${BOARDTYPE} == "gumstix" # # These not have expanding buffer over 4Mbyte. (before version 1.1.5) # And these cannot handle the endian of entry point. (1.1.4 and older) # SYSTEM_LD_TAIL_EXTRA+=; \ - echo ${TOOL_MKUBOOTIMAGE} ${MKUBOOTIMAGEARGS_NONE} $@.bin $@.ub; \ - ${TOOL_MKUBOOTIMAGE} ${MKUBOOTIMAGEARGS_NONE} $@.bin $@.ub; \ echo ${TOOL_MKUBOOTIMAGE} ${MKUBOOTIMAGEARGS_NONE:C/((-a (0x)*)([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2}))/\1 -e \3\7\6\5\4/W} $@.bin $@-old.ub; \ ${TOOL_MKUBOOTIMAGE} ${MKUBOOTIMAGEARGS_NONE:C/((-a (0x)*)([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2}))/\1 -e \3\7\6\5\4/W} $@.bin $@-old.ub .endif