summaryrefslogtreecommitdiffstats
path: root/stand/i386/kgzldr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'stand/i386/kgzldr/Makefile')
-rw-r--r--stand/i386/kgzldr/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/stand/i386/kgzldr/Makefile b/stand/i386/kgzldr/Makefile
new file mode 100644
index 0000000..5a03b83
--- /dev/null
+++ b/stand/i386/kgzldr/Makefile
@@ -0,0 +1,21 @@
+# $FreeBSD$
+
+.include <bsd.init.mk>
+
+PROG= kgzldr.o
+STRIP=
+BINMODE=${LIBMODE}
+BINDIR= ${LIBDIR}
+MAN=
+
+SRCS= start.s boot.c inflate.c lib.c crt.s sio.s
+CFLAGS= -Os
+CFLAGS+=-DKZIP
+NO_SHARED=
+LDFLAGS+=-Wl,-r
+.PATH: ${SYSDIR}/kern
+
+BOOT_COMCONSOLE_PORT?= 0x3f8
+AFLAGS+=--defsym SIO_PRT=${BOOT_COMCONSOLE_PORT}
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud