PERFORCE change 227275 for review
Robert Watson
rwatson at FreeBSD.org
Mon Apr 1 16:13:04 UTC 2013
http://p4web.freebsd.org/@@227275?ac=10
Change 227275 by rwatson at 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>
More information about the p4-projects
mailing list