summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2015-04-16 22:34:10 +0000
committeremaste <emaste@FreeBSD.org>2015-04-16 22:34:10 +0000
commit1ba5532df768c8093d433287cc072581aa2c37bb (patch)
tree85d9b7d816c16258512bea040df0b920150172e6 /sys/pc98
parent76763465e19d98b76c3a2b3b659578cf75d733a5 (diff)
downloadFreeBSD-src-1ba5532df768c8093d433287cc072581aa2c37bb.zip
FreeBSD-src-1ba5532df768c8093d433287cc072581aa2c37bb.tar.gz
Fix kernel build ${MACHINE} path
$M should be the kernel machine src directory, ${MACHINE}. In most cases ${MACHINE} and ${MACHINE_CPUARCH} are the same, but this is not true for pc98 and arm64. It appears we previously set M=${MACHINE_CPUARCH} as a workaround to accommodate pc98, where MACHINE_CPUARCH is pc98 but it uses sys/i386/i386/genassym.c. arm64 relies on this being set correctly, so update $M and add explicit workarounds for pc98. Differential Revision: https://reviews.freebsd.org/D2307 Reviewed by: andrew, imp Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/pc98/genassym.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/pc98/pc98/genassym.c b/sys/pc98/pc98/genassym.c
new file mode 100644
index 0000000..26858e5
--- /dev/null
+++ b/sys/pc98/pc98/genassym.c
@@ -0,0 +1,3 @@
+/* $FreeBSD$ */
+
+#include "../../i386/i386/genassym.c"
OpenPOWER on IntegriCloud