dc26222726
- drop shutdown - replace disklabel, fsck_ffs, and newfs with stripped-down versions
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.23 2018/01/28 01:09:57 rin Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
|
|
|
IMAGE= ramdisk.fs
|
|
IMAGESIZE= 2048k
|
|
MAKEFS_FLAGS+= -f 14
|
|
|
|
WARNS= 1
|
|
DBG= -Os
|
|
DBG+= -mthumb -mthumb-interwork
|
|
DBG+= -DNDEBUG
|
|
|
|
CRUNCHBIN= ramdiskbin
|
|
LISTS= ${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
|
|
MTREECONF= ${DISTRIBDIR}/common/mtree.common
|
|
IMAGEENDIAN= le
|
|
MAKEDEVTARGETS= ramdisk
|
|
IMAGEDEPENDS= ${CRUNCHBIN} \
|
|
dot.profile \
|
|
${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
|
|
${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
|
|
${DISTRIBDIR}/common/services
|
|
|
|
.if ${USE_INET6} != "no"
|
|
LISTS+= ${DISTRIBDIR}/common/list.inet6
|
|
.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.dhcpcd"
|
|
.include "${DISTRIBDIR}/common/Makefile.makedev"
|
|
.include "${DISTRIBDIR}/common/Makefile.image"
|
|
|
|
release:
|
|
|
|
.include <bsd.prog.mk>
|