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