diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2004-10-09 21:15:22 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2004-10-09 21:15:22 +0000 |
commit | ae2b60c0a6fd498047d040372f8e69226469e4e6 (patch) | |
tree | 7f65250be559380e7a9e5cb71eaca4c38e5264ff /sys/arch/amd64 | |
parent | beacb6631788458705b1c9e87da1b829f995dbf0 (diff) |
size works now on cross-size .o files
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r-- | sys/arch/amd64/stand/biosboot/Makefile | 4 | ||||
-rw-r--r-- | sys/arch/amd64/stand/cdboot/Makefile | 3 | ||||
-rw-r--r-- | sys/arch/amd64/stand/cdbr/Makefile | 4 | ||||
-rw-r--r-- | sys/arch/amd64/stand/mbr/Makefile | 4 | ||||
-rw-r--r-- | sys/arch/amd64/stand/pxeboot/Makefile | 3 |
5 files changed, 10 insertions, 8 deletions
diff --git a/sys/arch/amd64/stand/biosboot/Makefile b/sys/arch/amd64/stand/biosboot/Makefile index fd482baa9e2..c15c938b314 100644 --- a/sys/arch/amd64/stand/biosboot/Makefile +++ b/sys/arch/amd64/stand/biosboot/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2004/05/17 22:49:46 drahn Exp $ +# $OpenBSD: Makefile,v 1.3 2004/10/09 21:15:21 mickey Exp $ MAN= biosboot.8 @@ -14,7 +14,7 @@ SADIR= ${.CURDIR}/.. ${PROG}: $(OBJS) $(DPADD) @rm -f $(PROG) $(LD) $(LDFLAGS) -o $(PROG) $(OBJS) $(LDADD) - #@size $(PROG) + @size $(PROG) CPPFLAGS+=-DLOADADDR=$(LOADADDR) -DLINKADDR=$(LINKADDR) -DBOOTMAGIC=$(BOOTMAGIC) CPPFLAGS+=${DEBUGFLAGS} diff --git a/sys/arch/amd64/stand/cdboot/Makefile b/sys/arch/amd64/stand/cdboot/Makefile index 7a28a272f1f..2eaf7783082 100644 --- a/sys/arch/amd64/stand/cdboot/Makefile +++ b/sys/arch/amd64/stand/cdboot/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2004/08/24 15:34:59 tom Exp $ +# $OpenBSD: Makefile,v 1.3 2004/10/09 21:15:21 mickey Exp $ .include "${.CURDIR}/../Makefile.inc" @@ -47,6 +47,7 @@ SRCS+= adler32.c crc32.c inflate.c inftrees.c ${PROG}: $(OBJS) $(DPADD) $(LD) $(LDFLAGS) -o ${PROG} $(OBJS) $(LDADD) + @$(SIZE) $(PROG) @if [ -x ${.OBJDIR}/${PROG} ]; then \ objcopy -O binary ${PROG} ${.OBJDIR}/.tmp;\ mv -f ${.OBJDIR}/.tmp ${.OBJDIR}/${PROG}; \ diff --git a/sys/arch/amd64/stand/cdbr/Makefile b/sys/arch/amd64/stand/cdbr/Makefile index 681c1cb00c0..e48d84a2430 100644 --- a/sys/arch/amd64/stand/cdbr/Makefile +++ b/sys/arch/amd64/stand/cdbr/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2004/08/24 15:33:25 tom Exp $ +# $OpenBSD: Makefile,v 1.3 2004/10/09 21:15:21 mickey Exp $ # PROG= cdbr @@ -20,7 +20,7 @@ S= ${.CURDIR}/../../../.. ${PROG}: $(OBJS) $(DPADD) $(LD) $(LDFLAGS) -o $(PROG) $(OBJS) $(LDADD) - #@size $(PROG) + @size $(PROG) @if [ -x ${.OBJDIR}/${PROG} ]; then \ objcopy -O binary ${PROG} ${.OBJDIR}/.tmp;\ mv -f ${.OBJDIR}/.tmp ${.OBJDIR}/${PROG}; \ diff --git a/sys/arch/amd64/stand/mbr/Makefile b/sys/arch/amd64/stand/mbr/Makefile index 7d87a1ccbc9..b6c6ca436b5 100644 --- a/sys/arch/amd64/stand/mbr/Makefile +++ b/sys/arch/amd64/stand/mbr/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2004/05/17 22:49:46 drahn Exp $ +# $OpenBSD: Makefile,v 1.3 2004/10/09 21:15:21 mickey Exp $ # PROG= mbr @@ -20,7 +20,7 @@ S= ${.CURDIR}/../../../.. ${PROG}: $(OBJS) $(DPADD) $(LD) $(LDFLAGS) -o $(PROG) $(OBJS) $(LDADD) - #@size $(PROG) + @size $(PROG) @if [ -x ${.OBJDIR}/${PROG} ]; then \ objcopy -O binary ${PROG} ${.OBJDIR}/.tmp;\ mv -f ${.OBJDIR}/.tmp ${.OBJDIR}/${PROG}; \ diff --git a/sys/arch/amd64/stand/pxeboot/Makefile b/sys/arch/amd64/stand/pxeboot/Makefile index bbc89667f80..3f740228ba2 100644 --- a/sys/arch/amd64/stand/pxeboot/Makefile +++ b/sys/arch/amd64/stand/pxeboot/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2004/05/17 22:49:46 drahn Exp $ +# $OpenBSD: Makefile,v 1.3 2004/10/09 21:15:21 mickey Exp $ .include "${.CURDIR}/../Makefile.inc" @@ -47,6 +47,7 @@ SRCS+= adler32.c crc32.c inflate.c inftrees.c ${PROG}: $(OBJS) $(LD) $(LDFLAGS) -o ${PROG} $(OBJS) + @$(SIZE) $(PROG) @if [ -x ${.OBJDIR}/${PROG} ]; then \ objcopy -O binary ${PROG} ${.OBJDIR}/.tmp;\ mv -f ${.OBJDIR}/.tmp ${.OBJDIR}/${PROG}; \ |