summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/boot
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1998-05-19 18:59:12 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1998-05-19 18:59:12 +0000
commit12ebade805fd2d91dd1a0454d405c4e6b2db8849 (patch)
tree67cbdfa2bbc41bcebb690a6943c1bb5eaaee1bd9 /sys/arch/i386/stand/boot
parentab02a56adaeac11b7f36fa6fbeeaa0ce04583635 (diff)
cross-compile ready
Diffstat (limited to 'sys/arch/i386/stand/boot')
-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>