Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/riscv riscv: fix build with r/o src tree



details:   https://anonhg.NetBSD.org/src/rev/2998d105b072
branches:  trunk
changeset: 988224:2998d105b072
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Oct 04 18:16:48 2021 +0000

description:
riscv: fix build with r/o src tree

add 'compile' to the SUBDIR list so that 'make obj' creates the
kernel compile base objdir so <bsd.kernobj.mk> sets KERNOBJDIR
correctly.

diffstat:

 sys/arch/riscv/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (11 lines):

diff -r 4534de8ede13 -r 2998d105b072 sys/arch/riscv/Makefile
--- a/sys/arch/riscv/Makefile   Mon Oct 04 14:35:20 2021 +0000
+++ b/sys/arch/riscv/Makefile   Mon Oct 04 18:16:48 2021 +0000
@@ -1,5 +1,5 @@
-# $NetBSD: Makefile,v 1.2 2021/09/30 20:02:54 jmcneill Exp $
+# $NetBSD: Makefile,v 1.3 2021/10/04 18:16:48 mrg Exp $
 
-SUBDIR=        include stand
+SUBDIR=        compile include stand
 
 .include <bsd.subdir.mk>



Home | Main Index | Thread Index | Old Index