8fc0ae8d08
expect those where at least one of the language variants isn't built, and those that are known not to have enough space (i386 ramdisk-tiny). Files added to list.sysinst, list.sysinst.en is used when these files cannot be added. This might hit a size limit on another build - but I have no (sane) way of testing it.
50 lines
1.3 KiB
Makefile
50 lines
1.3 KiB
Makefile
# $NetBSD: Makefile.ramdisk,v 1.22 2004/04/18 20:04:26 dsl Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
|
|
|
I386COMMON= ${.CURDIR}/../common
|
|
|
|
.PATH: ${I386COMMON}
|
|
|
|
WARNS= 1
|
|
DBG= -Os
|
|
|
|
CRUNCHBIN= ramdiskbin
|
|
LISTS= ${.CURDIR}/list ${I386COMMON}/list.ramdisk
|
|
MTREECONF= ${DISTRIBDIR}/common/mtree.common
|
|
IMAGEENDIAN= le
|
|
IMAGEDEPENDS+= ${CRUNCHBIN} \
|
|
dot.profile termcap.mini \
|
|
${DESTDIR}/usr/mdec/boot \
|
|
${DESTDIR}/usr/mdec/bootxx_ffsv1 \
|
|
${DESTDIR}/usr/mdec/mbr \
|
|
${DESTDIR}/usr/mdec/mbr_ext \
|
|
${DESTDIR}/usr/mdec/mbr_bootsel \
|
|
${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
|
|
${NETBSDSRCDIR}/etc/netconfig ${NETBSDSRCDIR}/etc/protocols \
|
|
${NETBSDSRCDIR}/etc/services
|
|
PARSELISTENV+= BOOTMODEL=${BOOTMODEL:Q}
|
|
|
|
.if defined(USE_SYSINST)
|
|
.if ${USE_SYSINST} != yes
|
|
LISTS+= ${DISTRIBDIR}/common/list.sysinst.${USE_SYSINST}
|
|
.else
|
|
LISTS+= ${DISTRIBDIR}/common/list.sysinst
|
|
.endif
|
|
MAKEFS_FLAGS+= -f 14
|
|
.endif
|
|
|
|
# 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"
|
|
|
|
release:
|
|
|
|
.include <bsd.prog.mk>
|