summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/i386/stand/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/i386/stand/Makefile b/sys/arch/i386/stand/Makefile
index e18f59cbe94..4d9b2f9e059 100644
--- a/sys/arch/i386/stand/Makefile
+++ b/sys/arch/i386/stand/Makefile
@@ -3,7 +3,8 @@
S = ${.CURDIR}/../../..
I386 = ${.CURDIR}/..
-RMHDR = ${.CURDIR}/../boot/rmaouthdr
+CSH = csh
+RMHDR = ${CSH} ${.CURDIR}/../boot/rmaouthdr
STAND= /sys/stand
INCPATH=-I${.CURDIR} -I${S} -I${S}/arch -I${S}/ufs -I${S} -I${STAND}
VPATH= ${STAND}
@@ -11,7 +12,8 @@ STANDDIR= ${DESTDIR}/usr/mdec
AFLAGS+= -v -Wa,-a -D_LOCORE
CFLAGS+= -m386 -O6 -D_STANDALONE -DAT386 -O ${INCPATH}
-CPPFLAGS+= ${INCPATH} -D_KERNEL -DRELOC=0x${RELOC}
+#CPPFLAGS+= ${INCPATH} -D_KERNEL -DRELOC=0x${RELOC}
+CPPFLAGS+= ${INCPATH} -DRELOC=0x${RELOC}
LDADD+= ${LIBC}
RELOC= 98000