summaryrefslogtreecommitdiffstats
path: root/sys/boot/pc98/kgzldr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/pc98/kgzldr/Makefile')
-rw-r--r--sys/boot/pc98/kgzldr/Makefile5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/boot/pc98/kgzldr/Makefile b/sys/boot/pc98/kgzldr/Makefile
index 0c2998b..22f0cb4 100644
--- a/sys/boot/pc98/kgzldr/Makefile
+++ b/sys/boot/pc98/kgzldr/Makefile
@@ -4,11 +4,7 @@ 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= -ffreestanding
-.if ${OBJFORMAT} == aout
-CFLAGS+=-O2
-.else
CFLAGS+=-Os
-.endif
CFLAGS+=-DKZIP
LDFLAGS=-nostdlib -static -r
BINDIR= /usr/lib
@@ -20,7 +16,6 @@ AFLAGS+=--defsym PC98=1
CLEANFILES=${FILES}
M4?= m4
-M4FLAGS=-DOBJFORMAT=${OBJFORMAT}
BOOT_COMCONSOLE_PORT?= 0x238
M4FLAGS+=-DSIOPRT=${BOOT_COMCONSOLE_PORT}
OpenPOWER on IntegriCloud