Module Name:    src
Committed By:   gutteridge
Date:           Sat May  4 00:41:06 UTC 2024

Modified Files:
        src/distrib/riscv/ramdisk: Makefile

Log Message:
Add dhcpcd to riscv ramdisk, etc.

Be consistent with configs for pretty much every other (modern) arch
and provide dhcpcd, lest someone end up using this image and then be
surprised (as happened relatively recently with evbmips images). This
means of course we also need bpf.

While here, add a few wedge devices, too. This aligns us with the
device definitions evbmips uses (that appears to be where the riscv
Makefile was copied from back in 2015).


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/distrib/riscv/ramdisk/Makefile

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

Modified files:

Index: src/distrib/riscv/ramdisk/Makefile
diff -u src/distrib/riscv/ramdisk/Makefile:1.3 src/distrib/riscv/ramdisk/Makefile:1.4
--- src/distrib/riscv/ramdisk/Makefile:1.3	Wed Jun 14 23:03:19 2023
+++ src/distrib/riscv/ramdisk/Makefile	Sat May  4 00:41:06 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.3 2023/06/14 23:03:19 gutteridge Exp $
+#	$NetBSD: Makefile,v 1.4 2024/05/04 00:41:06 gutteridge Exp $
 
 .include <bsd.own.mk>
 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -22,7 +22,8 @@ IMAGEDEPENDS=	${CRUNCHBIN} \
 		${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
 		${DISTRIBDIR}/common/services
 
-MAKEDEVTARGETS= std md0 wd0 wd1 wd2 wd3 cd0 cd1 sd0 sd1 sd2 sd3 st0 ipty
+MAKEDEVTARGETS= std md0 wd0 wd1 wd2 wd3 cd0 cd1 sd0 sd1 sd2 sd3 st0 ipty \
+		bpf dk0 dk1 dk2 dk3
 
 # Use stubs to eliminate some large stuff from libc
 HACKSRC=	${DISTRIBDIR}/utils/libhack
@@ -30,6 +31,7 @@ HACKSRC=	${DISTRIBDIR}/utils/libhack
 ${CRUNCHBIN}:	libhack.o
 
 .include "${DISTRIBDIR}/common/Makefile.crunch"
+.include "${DISTRIBDIR}/common/Makefile.dhcpcd"
 .include "${DISTRIBDIR}/common/Makefile.makedev"
 .include "${DISTRIBDIR}/common/Makefile.image"
 

Reply via email to