Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F105989505
D2307.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D2307.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D2307: Fix kernel ${MACHINE} path
Attached
Detach File
Event Timeline
Log In to Comment