summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-12-30 10:48:09 +0000
committerbde <bde@FreeBSD.org>1998-12-30 10:48:09 +0000
commitf0d9a217f54b19f207d81ee0e2ff5d6bdc73b184 (patch)
treed78fa642209f21008215673f2bb8f54894cbc012 /sys
parent9aad9d912f0ea64471669ecde4beea9e9ead4989 (diff)
downloadFreeBSD-src-f0d9a217f54b19f207d81ee0e2ff5d6bdc73b184.zip
FreeBSD-src-f0d9a217f54b19f207d81ee0e2ff5d6bdc73b184.tar.gz
Rely on ../Makefile.inc to set the object format in CFLAGS and the
default for BINDIR. Fixed some style bugs in previous aout enforcement.
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/boot/netboot/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/sys/i386/boot/netboot/Makefile b/sys/i386/boot/netboot/Makefile
index ea734b92..2d50c65 100644
--- a/sys/i386/boot/netboot/Makefile
+++ b/sys/i386/boot/netboot/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.20 1998/11/26 11:11:29 joerg Exp $
+# $Id: Makefile,v 1.21 1998/11/28 08:03:24 joerg Exp $
#
# Makefile for NETBOOT
#
@@ -30,7 +30,6 @@ PROG= nb8390.com nb3c509.com nb8390.rom nb3c509.rom
# Order is very important on the SRCS line for this prog
SRCS= start2.S main.c misc.c bootmenu.c rpc.c
-BINDIR= /usr/mdec
BINMODE= 555
#CFLAGS= -O2 -DNFS -DROMSIZE=${ROMSIZE} -DRELOC=${RELOCADDR} -DASK_BOOT
CFLAGS= -O2 -DNFS -DROMSIZE=${ROMSIZE} -DRELOC=${RELOCADDR} # -DASK_BOOT
@@ -41,14 +40,12 @@ NS8390= -DINCLUDE_NE
#NS8390+= -DINCLUDE_3COM -D_3COM_BASE=0x300
CLEANFILES+= netboot.com
CLEANFILES+= makerom start2.ro 3c509.o ns8390.o
-ROMLDFLAGS= ${LDFLAGS} -N -T ${RELOCADDR} -e _start -nostdlib
+ROMLDFLAGS= ${LDFLAGS} -aout -N -T ${RELOCADDR} -e _start -nostdlib
NOSHARED= YES
MAN8= netboot.8
-STRIP=
-STRIPCMD= strip -aout
SIZE= size -aout
-CFLAGS += -aout
-LDFLAGS += -aout
+STRIP=
+STRIPCMD= strip -aout
ROMSIZE=16384
RELOCADDR=0x90000
OpenPOWER on IntegriCloud