Home | History | Annotate | Line # | Download | only in ramdisk
Makefile revision 1.13.14.1
      1 #	$NetBSD: Makefile,v 1.13.14.1 2020/01/28 09:08:10 msaitoh Exp $
      2 
      3 .include <bsd.own.mk>
      4 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
      5 
      6 IMAGE=		ramdisk.fs
      7 IMAGESIZE=	4096k
      8 MAKEFS_FLAGS+=	-f 15
      9 
     10 WARNS=		1
     11 DBG=		-Os
     12 
     13 CRUNCHBIN=	ramdiskbin
     14 LISTS=		${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
     15 MTREECONF=	${DISTRIBDIR}/common/mtree.common
     16 .if ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mips64el"
     17 IMAGEENDIAN=	le
     18 .else
     19 IMAGEENDIAN=	be
     20 .endif
     21 MAKEDEVTARGETS=	ramdisk
     22 IMAGEDEPENDS=	${CRUNCHBIN} \
     23 		dot.profile \
     24 		${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
     25 		${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
     26 		${DISTRIBDIR}/common/services
     27 
     28 MAKEDEVTARGETS= std md0 wd0 wd1 wd2 wd3 cd0 cd1 sd0 sd1 sd2 sd3 st0 ipty
     29 
     30 # Use stubs to eliminate some large stuff from libc
     31 HACKSRC=	${DISTRIBDIR}/utils/libhack
     32 .include	"${HACKSRC}/Makefile.inc"
     33 ${CRUNCHBIN}:	libhack.o
     34 
     35 .include "${DISTRIBDIR}/common/Makefile.crunch"
     36 .include "${DISTRIBDIR}/common/Makefile.dhcpcd"
     37 .include "${DISTRIBDIR}/common/Makefile.makedev"
     38 .include "${DISTRIBDIR}/common/Makefile.image"
     39 
     40 release:
     41 
     42 .include <bsd.prog.mk>
     43