91db817d71
XXX: untested. also needs sun3 converted to sun68k/stand/bootxx so that the ${INSTALLBOOT} in miniroot can be enabled. XXX^2: sun2 & sun3 should share distrib dirs since they're extremely similar...
38 lines
1.0 KiB
Makefile
38 lines
1.0 KiB
Makefile
# $NetBSD: Makefile,v 1.30 2002/05/17 17:52:36 lukem Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
|
.include <bsd.kernobj.mk>
|
|
|
|
IMAGE= ramdisk.fs
|
|
IMAGESIZE= 400k
|
|
MAKEFS_FLAGS= -f 15 -o minfree=0,optimization=space,density=4096,cpg=20
|
|
|
|
WARNS= 1
|
|
DBG= -Os
|
|
|
|
CRUNCHBIN= rd_bin
|
|
LISTS= ${.CURDIR}/list
|
|
MTREECONF= ${.CURDIR}/mtree.conf
|
|
IMAGEENDIAN= be
|
|
MAKEDEVTARGETS= __ramdisk std md0 cd0 st0 st1 sd0 sd1 sd2 xd0 xy0 fd0
|
|
IMAGEDEPENDS= ${CRUNCHBIN} \
|
|
disktab fstab passwd protocols services sshrc welcome \
|
|
${NETBSDSRCDIR}/etc/netconfig
|
|
|
|
MDSETTARGETS= RAMDISK ramdisk.fs - \
|
|
RAMDISK3X ramdisk.fs -
|
|
MDSET_RELEASEDIR= binary/kernel
|
|
|
|
# Use stubs to eliminate some large stuff from libc
|
|
HACKSRC= ${DISTRIBDIR}/utils/libhack
|
|
.include "${HACKSRC}/Makefile.inc"
|
|
${CRUNCHBIN}: libhack.o
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.crunch"
|
|
.include "${DISTRIBDIR}/common/Makefile.makedev"
|
|
.include "${DISTRIBDIR}/common/Makefile.image"
|
|
.include "${DISTRIBDIR}/common/Makefile.mdset"
|
|
|
|
.include <bsd.prog.mk>
|