MFi386: revision 1.8
This commit is contained in:
parent
5497ee0acf
commit
f9ef610bd0
@ -1,5 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
FILES= kgzldr.o
|
||||
SRCS= start.s boot.c inflate.c lib.c crt.s sio.s
|
||||
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
|
||||
CFLAGS= -fno-builtin
|
||||
@ -10,23 +11,20 @@ CFLAGS+=-Os
|
||||
.endif
|
||||
CFLAGS+=-DKZIP
|
||||
LDFLAGS=-nostdlib -static -r
|
||||
NOMAN=
|
||||
BINDIR= /usr/lib
|
||||
BINMODE=444
|
||||
STRIP=
|
||||
.PATH: ${.CURDIR}/../../../kern
|
||||
|
||||
.PATH: ${.CURDIR}/../../i386/kgzldr
|
||||
AFLAGS+=--defsym PC98=1
|
||||
|
||||
CLEANFILES=${FILES}
|
||||
|
||||
M4?= m4
|
||||
M4FLAGS=-DOBJFORMAT=${OBJFORMAT}
|
||||
|
||||
BOOT_COMCONSOLE_PORT?= 0x238
|
||||
M4FLAGS+=-DSIOPRT=${BOOT_COMCONSOLE_PORT}
|
||||
|
||||
all: kgzldr.o
|
||||
|
||||
kgzldr.o: ${OBJS}
|
||||
${CC} ${LDFLAGS} -o ${.TARGET} ${OBJS}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user