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).
This commit is contained in:
parent
af8e7fd7d9
commit
7db2523dea
|
@ -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 <bsd.own.mk>
|
||||||
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
||||||
|
@ -22,7 +22,8 @@ IMAGEDEPENDS= ${CRUNCHBIN} \
|
||||||
${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
|
${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
|
||||||
${DISTRIBDIR}/common/services
|
${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
|
# Use stubs to eliminate some large stuff from libc
|
||||||
HACKSRC= ${DISTRIBDIR}/utils/libhack
|
HACKSRC= ${DISTRIBDIR}/utils/libhack
|
||||||
|
@ -30,6 +31,7 @@ HACKSRC= ${DISTRIBDIR}/utils/libhack
|
||||||
${CRUNCHBIN}: libhack.o
|
${CRUNCHBIN}: libhack.o
|
||||||
|
|
||||||
.include "${DISTRIBDIR}/common/Makefile.crunch"
|
.include "${DISTRIBDIR}/common/Makefile.crunch"
|
||||||
|
.include "${DISTRIBDIR}/common/Makefile.dhcpcd"
|
||||||
.include "${DISTRIBDIR}/common/Makefile.makedev"
|
.include "${DISTRIBDIR}/common/Makefile.makedev"
|
||||||
.include "${DISTRIBDIR}/common/Makefile.image"
|
.include "${DISTRIBDIR}/common/Makefile.image"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue