Module Name:    src
Committed By:   mrg
Date:           Mon Jun 17 22:39:36 UTC 2024

Modified Files:
        src/sys/modules/compat_13: Makefile

Log Message:
fix the m68k compat_13 build.

include Makefile.assym to generate assym.h.
use -I. and -x assembler-with-cpp to actually use cpp and find assym.h.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/modules/compat_13/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/modules/compat_13/Makefile
diff -u src/sys/modules/compat_13/Makefile:1.4 src/sys/modules/compat_13/Makefile:1.5
--- src/sys/modules/compat_13/Makefile:1.4	Mon Jun 17 10:16:00 2024
+++ src/sys/modules/compat_13/Makefile	Mon Jun 17 22:39:36 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.4 2024/06/17 10:16:00 pgoyette Exp $
+#	$NetBSD: Makefile,v 1.5 2024/06/17 22:39:36 mrg Exp $
 
 .include <bsd.init.mk>
 
@@ -15,7 +15,10 @@ SRCS+=	uvm_13.c kern_sig_13.c
 COMPAT_MACHDEP_SRCS=	compat_13_machdep.c
 
 .if ${MACHINE_CPU} == "m68k"
+.include "../Makefile.assym"
+
 COMPAT_MACHDEP_SRCS+=	compat_13_sigreturn13.s
+COPTS.compat_13_sigreturn13.s+=	-I. -x assembler-with-cpp
 .endif
 
 .include "../Makefile.compat"

Reply via email to