2009-06-09 15:06:09 +04:00
|
|
|
# $NetBSD: Makefile,v 1.41 2009/06/09 11:06:09 he Exp $
|
2000-10-20 15:56:55 +04:00
|
|
|
#
|
|
|
|
# ramdisk.fs is the microroot filesystem intended for use with
|
|
|
|
# the INSTALL kernel. It provides just enough tools to extract the
|
|
|
|
# miniroot-based `instfs' filesystem into an MFS mount point
|
|
|
|
# and start the installation scripts from there (see dot.profile).
|
|
|
|
#
|
1998-06-06 09:29:50 +04:00
|
|
|
|
2002-03-11 10:04:21 +03:00
|
|
|
.include <bsd.own.mk>
|
2002-05-02 22:02:14 +04:00
|
|
|
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
1998-06-06 09:29:50 +04:00
|
|
|
|
2002-03-11 10:04:21 +03:00
|
|
|
IMAGE= ramdisk.fs
|
2009-06-09 15:06:09 +04:00
|
|
|
IMAGESIZE= 1800b
|
1998-06-06 09:29:50 +04:00
|
|
|
|
2002-03-11 10:04:21 +03:00
|
|
|
WARNS= 1
|
2002-04-06 22:16:09 +04:00
|
|
|
DBG= -Os
|
1998-06-06 09:29:50 +04:00
|
|
|
|
2002-03-11 10:04:21 +03:00
|
|
|
CRUNCHBIN= ramdiskbin
|
|
|
|
LISTS= ${.CURDIR}/list
|
|
|
|
MTREECONF= ${DISTRIBDIR}/common/mtree.common
|
|
|
|
IMAGEENDIAN= be
|
|
|
|
MAKEDEVTARGETS= floppy
|
|
|
|
IMAGEDEPENDS+= ${CRUNCHBIN} dot.profile
|
1998-06-06 09:29:50 +04:00
|
|
|
|
2002-03-11 10:04:21 +03:00
|
|
|
# Use stubs to eliminate some large stuff from libc
|
2002-03-28 07:33:21 +03:00
|
|
|
HACKSRC= ${DISTRIBDIR}/utils/libhack
|
|
|
|
HACKOBJS= gethost.o
|
|
|
|
.include "${HACKSRC}/Makefile.inc"
|
|
|
|
${CRUNCHBIN}: libhack.o
|
1998-06-06 09:29:50 +04:00
|
|
|
|
2002-03-11 10:04:21 +03:00
|
|
|
.include "${DISTRIBDIR}/common/Makefile.crunch"
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.makedev"
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.image"
|
1998-06-06 09:29:50 +04:00
|
|
|
|
2002-05-02 22:02:14 +04:00
|
|
|
release:
|
|
|
|
|
2001-11-21 04:45:21 +03:00
|
|
|
.include <bsd.prog.mk>
|