diff options
author | rnordier <rnordier@FreeBSD.org> | 1999-07-19 18:07:44 +0000 |
---|---|---|
committer | rnordier <rnordier@FreeBSD.org> | 1999-07-19 18:07:44 +0000 |
commit | f5a2fbe4184a948e76650e02ae098f4f8fcab5a2 (patch) | |
tree | d1ab0da130f1788cd2d80d5406ddc5152ddbe2fa /sys/boot/i386/kgzldr/Makefile | |
parent | 21ebb70093dc2c888f61ca588acf88ce12a5d8b8 (diff) | |
download | FreeBSD-src-f5a2fbe4184a948e76650e02ae098f4f8fcab5a2.zip FreeBSD-src-f5a2fbe4184a948e76650e02ae098f4f8fcab5a2.tar.gz |
kgzldr is a kzipboot replacement for use with kgzip(8).
Development sponsored by Global Technology Associates, Inc.
Reviewed/tested by: abial
Diffstat (limited to 'sys/boot/i386/kgzldr/Makefile')
-rw-r--r-- | sys/boot/i386/kgzldr/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/sys/boot/i386/kgzldr/Makefile b/sys/boot/i386/kgzldr/Makefile new file mode 100644 index 0000000..799bd29 --- /dev/null +++ b/sys/boot/i386/kgzldr/Makefile @@ -0,0 +1,29 @@ +# $Id: $ + +PROG= kgzldr.o +SRCS= start.s boot.c inflate.c lib.c crt.s sio.s +CFLAGS= -fno-builtin -Os +CFLAGS+=-DKZIP +LDFLAGS=-nostdlib -static -r +NOMAN= +BINDIR= /usr/lib +BINMODE=444 +STRIP= +.PATH: ${.CURDIR}/../../../kern + +M4?= m4 +MFLAGS= + +BOOT_COMCONSOLE_PORT?= 0x3f8 +MFLAGS+=-DSIOPRT=${BOOT_COMCONSOLE_PORT} + +all: kgzldr.o + +kgzldr.o: ${OBJS} + ${CC} ${LDFLAGS} -o ${.TARGET} ${OBJS} + +.s.o: + (cd ${.CURDIR}; ${M4} ${MFLAGS} ${.IMPSRC}) |\ + ${AS} ${AFLAGS} -o ${.TARGET} + +.include <bsd.prog.mk> |