summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/i386/stand/boot/Makefile7
1 files changed, 4 insertions, 3 deletions
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 <bsd.prog.mk>