Page MenuHomeFreeBSD

D2307.diff
No OneTemporary

D2307.diff

Index: head/sys/conf/Makefile.pc98
===================================================================
--- head/sys/conf/Makefile.pc98
+++ head/sys/conf/Makefile.pc98
@@ -28,6 +28,9 @@
S= ../../..
.endif
.endif
+
+LDSCRIPT_NAME?= ldscript.${MACHINE_ARCH}
+
.include "$S/conf/kern.pre.mk"
ASM_CFLAGS.mpboot.s= ${CLANG_NO_IAS34}
Index: head/sys/conf/kern.pre.mk
===================================================================
--- head/sys/conf/kern.pre.mk
+++ head/sys/conf/kern.pre.mk
@@ -26,7 +26,7 @@
LDSCRIPT_NAME?= ldscript.$M
LDSCRIPT?= $S/conf/${LDSCRIPT_NAME}
-M= ${MACHINE_CPUARCH}
+M= ${MACHINE}
AWK?= awk
CP?= cp
Index: head/sys/conf/kmod.mk
===================================================================
--- head/sys/conf/kmod.mk
+++ head/sys/conf/kmod.mk
@@ -425,10 +425,10 @@
.endif
assym.s: ${SYSDIR}/kern/genassym.sh
sh ${SYSDIR}/kern/genassym.sh genassym.o > ${.TARGET}
-genassym.o: ${SYSDIR}/${MACHINE_CPUARCH}/${MACHINE_CPUARCH}/genassym.c
+genassym.o: ${SYSDIR}/${MACHINE}/${MACHINE}/genassym.c
genassym.o: ${SRCS:Mopt_*.h}
${CC} -c ${CFLAGS:N-fno-common} \
- ${SYSDIR}/${MACHINE_CPUARCH}/${MACHINE_CPUARCH}/genassym.c
+ ${SYSDIR}/${MACHINE}/${MACHINE}/genassym.c
.endif
lint: ${SRCS}
Index: head/sys/pc98/pc98/genassym.c
===================================================================
--- head/sys/pc98/pc98/genassym.c
+++ head/sys/pc98/pc98/genassym.c
@@ -0,0 +1,3 @@
+/* $FreeBSD$ */
+
+#include "../../i386/i386/genassym.c"

File Metadata

Mime Type
text/plain
Expires
Tue, Dec 24, 1:32 PM (20 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15588260
Default Alt Text
D2307.diff (1 KB)

Event Timeline