2002-05-02 22:02:14 +04:00
|
|
|
# $NetBSD: Makefile.ramdisk,v 1.19 2002/05/02 18:02:36 lukem Exp $
|
2002-02-03 19:22:19 +03:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
2002-05-02 22:02:14 +04:00
|
|
|
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
2002-04-11 16:17:14 +04:00
|
|
|
|
|
|
|
I386COMMON= ${.CURDIR}/../common
|
2002-02-03 19:22:19 +03:00
|
|
|
|
2002-04-11 16:17:14 +04:00
|
|
|
.PATH: ${I386COMMON}
|
2002-02-03 19:22:19 +03:00
|
|
|
|
|
|
|
WARNS= 1
|
2002-04-06 22:16:09 +04:00
|
|
|
DBG= -Os
|
2002-02-03 19:22:19 +03:00
|
|
|
|
|
|
|
CRUNCHBIN= ramdiskbin
|
2002-04-11 16:17:14 +04:00
|
|
|
LISTS= ${.CURDIR}/list ${I386COMMON}/list.ramdisk
|
2002-03-07 04:41:48 +03:00
|
|
|
MTREECONF= ${DISTRIBDIR}/common/mtree.common
|
2002-02-03 19:22:19 +03:00
|
|
|
IMAGEENDIAN= le
|
2002-03-28 05:57:29 +03:00
|
|
|
IMAGEDEPENDS+= ${CRUNCHBIN} \
|
|
|
|
dot.profile termcap.mini \
|
|
|
|
${DESTDIR}/usr/mdec/biosboot.sym \
|
|
|
|
${DESTDIR}/usr/mdec/mbr ${DESTDIR}/usr/mdec/mbr_bootsel \
|
2002-04-26 19:50:21 +04:00
|
|
|
${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
|
|
|
|
${NETBSDSRCDIR}/etc/netconfig ${NETBSDSRCDIR}/etc/protocols \
|
|
|
|
${NETBSDSRCDIR}/etc/services
|
2002-03-15 01:26:08 +03:00
|
|
|
PARSELISTENV+= BOOTMODEL=${BOOTMODEL:Q}
|
2002-02-03 19:22:19 +03:00
|
|
|
|
2002-02-08 07:52:42 +03:00
|
|
|
.if defined(USE_SYSINST)
|
|
|
|
LISTS+= ${DISTRIBDIR}/common/list.sysinst
|
2002-04-03 07:12:28 +04:00
|
|
|
MAKEFS_FLAGS+= -f 14
|
2002-02-08 07:52:42 +03:00
|
|
|
.endif
|
2002-02-06 19:12:18 +03:00
|
|
|
|
2002-03-28 07:33:21 +03:00
|
|
|
# Use stubs to eliminate some large stuff from libc
|
|
|
|
HACKSRC= ${DISTRIBDIR}/utils/libhack
|
|
|
|
.include "${HACKSRC}/Makefile.inc"
|
|
|
|
${CRUNCHBIN}: libhack.o
|
|
|
|
|
2002-02-08 07:52:42 +03:00
|
|
|
.include "${DISTRIBDIR}/common/Makefile.crunch"
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.makedev"
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.image"
|
2002-02-03 19:22:19 +03:00
|
|
|
|
2002-05-02 22:02:14 +04:00
|
|
|
release:
|
|
|
|
|
2002-02-03 19:22:19 +03:00
|
|
|
.include <bsd.prog.mk>
|