Module Name:    src
Committed By:   kiyohara
Date:           Tue Apr 19 12:02:56 UTC 2016

Modified Files:
        src/sys/arch/evbarm/conf: mk.gumstix

Log Message:
OVERO's .ub file includes release


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/evbarm/conf/mk.gumstix

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbarm/conf/mk.gumstix
diff -u src/sys/arch/evbarm/conf/mk.gumstix:1.4 src/sys/arch/evbarm/conf/mk.gumstix:1.5
--- src/sys/arch/evbarm/conf/mk.gumstix:1.4	Thu Jun 30 18:20:24 2011
+++ src/sys/arch/evbarm/conf/mk.gumstix	Tue Apr 19 12:02:55 2016
@@ -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/$(BOARDTYP
 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

Reply via email to