| @@ -1,38 +1,40 @@ | | | @@ -1,38 +1,40 @@ |
1 | # $NetBSD: Makefile,v 1.3 2023/06/14 23:03:19 gutteridge Exp $ | | 1 | # $NetBSD: Makefile,v 1.4 2024/05/04 00:41:06 gutteridge Exp $ |
2 | | | 2 | |
3 | .include <bsd.own.mk> | | 3 | .include <bsd.own.mk> |
4 | .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" | | 4 | .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" |
5 | | | 5 | |
6 | IMAGE= ramdisk.fs | | 6 | IMAGE= ramdisk.fs |
7 | IMAGESIZE= 4096k | | 7 | IMAGESIZE= 4096k |
8 | MAKEFS_FLAGS+= -f 15 | | 8 | MAKEFS_FLAGS+= -f 15 |
9 | | | 9 | |
10 | WARNS= 1 | | 10 | WARNS= 1 |
11 | DBG= -Os | | 11 | DBG= -Os |
12 | | | 12 | |
13 | CRUNCHBIN= ramdiskbin | | 13 | CRUNCHBIN= ramdiskbin |
14 | LISTS= ${.CURDIR}/list | | 14 | LISTS= ${.CURDIR}/list |
15 | #LISTS+= ${DISTRIBDIR}/common/list.sysinst | | 15 | #LISTS+= ${DISTRIBDIR}/common/list.sysinst |
16 | MTREECONF= ${DISTRIBDIR}/common/mtree.common | | 16 | MTREECONF= ${DISTRIBDIR}/common/mtree.common |
17 | IMAGEENDIAN= le | | 17 | IMAGEENDIAN= le |
18 | | | 18 | |
19 | IMAGEDEPENDS= ${CRUNCHBIN} \ | | 19 | IMAGEDEPENDS= ${CRUNCHBIN} \ |
20 | dot.profile \ | | 20 | dot.profile \ |
21 | ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \ | | 21 | ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \ |
22 | ${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \ | | 22 | ${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \ |
23 | ${DISTRIBDIR}/common/services | | 23 | ${DISTRIBDIR}/common/services |
24 | | | 24 | |
25 | MAKEDEVTARGETS= std md0 wd0 wd1 wd2 wd3 cd0 cd1 sd0 sd1 sd2 sd3 st0 ipty | | 25 | MAKEDEVTARGETS= std md0 wd0 wd1 wd2 wd3 cd0 cd1 sd0 sd1 sd2 sd3 st0 ipty \ |
| | | 26 | bpf dk0 dk1 dk2 dk3 |
26 | | | 27 | |
27 | # Use stubs to eliminate some large stuff from libc | | 28 | # Use stubs to eliminate some large stuff from libc |
28 | HACKSRC= ${DISTRIBDIR}/utils/libhack | | 29 | HACKSRC= ${DISTRIBDIR}/utils/libhack |
29 | .include "${HACKSRC}/Makefile.inc" | | 30 | .include "${HACKSRC}/Makefile.inc" |
30 | ${CRUNCHBIN}: libhack.o | | 31 | ${CRUNCHBIN}: libhack.o |
31 | | | 32 | |
32 | .include "${DISTRIBDIR}/common/Makefile.crunch" | | 33 | .include "${DISTRIBDIR}/common/Makefile.crunch" |
| | | 34 | .include "${DISTRIBDIR}/common/Makefile.dhcpcd" |
33 | .include "${DISTRIBDIR}/common/Makefile.makedev" | | 35 | .include "${DISTRIBDIR}/common/Makefile.makedev" |
34 | .include "${DISTRIBDIR}/common/Makefile.image" | | 36 | .include "${DISTRIBDIR}/common/Makefile.image" |
35 | | | 37 | |
36 | release: | | 38 | release: |
37 | | | 39 | |
38 | .include <bsd.prog.mk> | | 40 | .include <bsd.prog.mk> |