aboutsummaryrefslogtreecommitdiff
path: root/sys/boot
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2002-04-17 15:33:40 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2002-04-17 15:33:40 +0000
commit092179f9853e762a8c4a56391ba3da9e7de31b69 (patch)
treee71150d5fde365c9d0d03c297545d459371044b0 /sys/boot
parentb5b4067771c1b2b837c40ac1ae2c4777a74eb1a8 (diff)
downloadsrc-092179f9853e762a8c4a56391ba3da9e7de31b69.tar.gz
src-092179f9853e762a8c4a56391ba3da9e7de31b69.zip
Really unbreak it this time (clean and install were still broken).
Notes
Notes: svn path=/head/; revision=94952
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/i386/kgzldr/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/boot/i386/kgzldr/Makefile b/sys/boot/i386/kgzldr/Makefile
index 4c69f60ce307..6ba2a35032fd 100644
--- a/sys/boot/i386/kgzldr/Makefile
+++ b/sys/boot/i386/kgzldr/Makefile
@@ -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,20 +11,17 @@ CFLAGS+=-Os
.endif
CFLAGS+=-DKZIP
LDFLAGS=-nostdlib -static -r
-NOMAN=
BINDIR= /usr/lib
-BINMODE=444
-STRIP=
.PATH: ${.CURDIR}/../../../kern
+CLEANFILES=${FILES}
+
M4?= m4
M4FLAGS=-DOBJFORMAT=${OBJFORMAT}
BOOT_COMCONSOLE_PORT?= 0x3f8
M4FLAGS+=-DSIOPRT=${BOOT_COMCONSOLE_PORT}
-all: kgzldr.o
-
kgzldr.o: ${OBJS}
${CC} ${LDFLAGS} -o ${.TARGET} ${OBJS}