Also build serial bootblocks by default, installing into
/usr/mdec/biosboot_ser.sym Change Makefile.booters to not assume `version' file is in source directory.
This commit is contained in:
parent
e846ee9b9b
commit
fc47c0c742
@ -25,6 +25,7 @@
|
||||
./usr/lkm/procfs.o
|
||||
./usr/lkm/umapfs.o
|
||||
./usr/mdec/biosboot.sym
|
||||
./usr/mdec/biosboot_ser.sym
|
||||
./usr/mdec/dosboot.com
|
||||
./usr/mdec/installboot
|
||||
./usr/mdec/mbr
|
||||
|
@ -1,6 +1,6 @@
|
||||
# $NetBSD: Makefile,v 1.8 1997/03/14 02:54:14 perry Exp $
|
||||
# $NetBSD: Makefile,v 1.9 1999/03/12 16:07:58 sommerfe Exp $
|
||||
|
||||
SUBDIR= biosboot installboot
|
||||
SUBDIR= biosboot biosboot_ser installboot
|
||||
SUBDIR+= dosboot
|
||||
#SUBDIR+= genprom netboot
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.booters,v 1.18 1999/02/07 18:25:54 tron Exp $
|
||||
# $NetBSD: Makefile.booters,v 1.19 1999/03/12 16:07:58 sommerfe Exp $
|
||||
|
||||
BINDIR= /usr/mdec
|
||||
STRIPFLAG=
|
||||
@ -61,7 +61,7 @@ LDFLAGS=-N -M -e _start
|
||||
.endif
|
||||
|
||||
vers.o: version
|
||||
sh ${I386_STAND_DIR}/newvers.sh ${.CURDIR}/version ${NEWVERSWHAT}
|
||||
sh ${I386_STAND_DIR}/newvers.sh ${.ALLSRC} ${NEWVERSWHAT}
|
||||
${COMPILE.c} vers.c
|
||||
|
||||
${BASE}.sym: ${BSSTART} ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN} ${LIBI386} vers.o
|
||||
|
42
sys/arch/i386/stand/biosboot_ser/Makefile
Normal file
42
sys/arch/i386/stand/biosboot_ser/Makefile
Normal file
@ -0,0 +1,42 @@
|
||||
# $NetBSD: Makefile,v 1.1 1999/03/12 16:07:58 sommerfe Exp $
|
||||
|
||||
S= ${.CURDIR}/../../../../
|
||||
|
||||
BASE= biosboot_ser
|
||||
PROG= ${BASE}.sym
|
||||
MKMAN= no
|
||||
NEWVERSWHAT= "BIOS Boot"
|
||||
|
||||
SRCS= main.c devopen.c conf.c exec.c
|
||||
|
||||
CLEANFILES+= ${BSSTART}
|
||||
|
||||
CPPFLAGS+= -DCOMPAT_OLDBOOT -DCOMPAT_386BSD_MBRPART
|
||||
|
||||
|
||||
#Sample use of serial line debugger
|
||||
#CPPFLAGS+= -DSUPPORT_SERIAL=CONSDEV_COM0KBD
|
||||
# or
|
||||
CPPFLAGS+= -DSUPPORT_SERIAL=CONSDEV_AUTO -DDIRECT_SERIAL
|
||||
# and maybe
|
||||
#CPPFLAGS+= -DDIRECT_SERIAL -DCOMCONS_KEYPRESS -DCONSPEED=57600
|
||||
CPPFLAGS+= -DPASS_BIOSGEOM
|
||||
#uncomment if there are problems with memory detection
|
||||
#CPPFLAGS+= -DCONSERVATIVE_MEMDETECT
|
||||
#increase MAXFLENTRIES if "installboot" complains about
|
||||
# "not enough fragment space in bootcode" (default: 10)
|
||||
#CPPFLAGS+= -DMAXFLENTRIES=15
|
||||
#set PRIM_LOADSZ to <=9 to make a 720k boot floppy (default: 15)
|
||||
#CPPFLAGS+= -DPRIM_LOADSZ=9
|
||||
|
||||
#CFLAGS= -O2 -fomit-frame-pointer -fno-defer-pop
|
||||
CFLAGS+= -Wall
|
||||
|
||||
# XXX should go into library
|
||||
SRCS+= ls.c
|
||||
.PATH: ${.CURDIR}/../libsa ${.CURDIR}/../biosboot
|
||||
|
||||
SAMISCCPPFLAGS+= -DHEAP_START=0x10000 -DHEAP_LIMIT=0x40000
|
||||
SAMISCMAKEFLAGS= SA_USE_CREAD=yes SA_INCLUDE_NET=no
|
||||
|
||||
.include "../Makefile.booters"
|
Loading…
Reference in New Issue
Block a user