Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Apr 2013 16:13:03 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 227275 for review
Message-ID:  <201304011613.r31GD32R002887@skunkworks.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@227275?ac=10

Change 227275 by rwatson@rwatson_zenith_cl_cam_ac_uk on 2013/04/01 16:12:20

	The actual target is 'boot2', a binary file to be stuffed in ROM
	or flash, rather than the ELF file, so rearrange targets to reflect
	this.

Affected files ...

.. //depot/projects/ctsrd/beribsd/src/sys/boot/mips/beri/boot2/Makefile#7 edit

Differences ...

==== //depot/projects/ctsrd/beribsd/src/sys/boot/mips/beri/boot2/Makefile#7 (text+ko) ====

@@ -1,6 +1,6 @@
 #  $FreeBSD$
 
-PROG=		boot2
+PROG=		boot2.elf
 BINDIR?=	/boot
 INSTALLFLAGS=	-b
 
@@ -33,12 +33,14 @@
 .PATH:		${.CURDIR}/../common
 CFLAGS+=	-I${.CURDIR}/../common
 
-boot2: linker.cfg
+boot2.elf: linker.cfg
+
+boot2: boot2.elf
+	objcopy -S -O binary boot2.elf boot2
 
-boot2.img: boot2
-	objcopy -S -O binary boot2 boot2.img
+boot2.dump: boot2.elf
+	objdump -dS boot2.elf > boot2.dump
 
-boot2.dump: boot2
-	objdump -dS boot2 > boot2.dump
+all: boot2 boot2.dump
 
 .include <bsd.prog.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304011613.r31GD32R002887>