From 12ebade805fd2d91dd1a0454d405c4e6b2db8849 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Tue, 19 May 1998 18:59:12 +0000 Subject: cross-compile ready --- sys/arch/i386/stand/boot/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sys/arch/i386/stand/boot') diff --git a/sys/arch/i386/stand/boot/Makefile b/sys/arch/i386/stand/boot/Makefile index b11978cadfe..7e87b880f37 100644 --- a/sys/arch/i386/stand/boot/Makefile +++ b/sys/arch/i386/stand/boot/Makefile @@ -1,11 +1,12 @@ -# $OpenBSD: Makefile,v 1.17 1998/02/24 07:54:38 deraadt Exp $ +# $OpenBSD: Makefile,v 1.18 1998/05/19 18:59:11 mickey Exp $ PROG= boot SRCS= srt0.S boot.c cmd.c bootarg.c conf.c #AFLAGS+=-Wa,-R # AFLAGS+=-Wa,-a -LD=ld +LD?= ld LDFLAGS+=-nostdlib -Ttext $(LINKADDR) -z -x -Bstatic +SIZE?= size MAN= boot.8 MLINKS= boot.8 boot.conf.8 S =${.CURDIR}/../../../.. @@ -25,7 +26,7 @@ machine-links: ${PROG}: $(OBJS) $(DPADD) $(LD) $(LDFLAGS) -o $(PROG) $(OBJS) $(LDADD) - @size $(PROG) + @$(SIZE) $(PROG) .include -- cgit v1.2.3