11.29Sbrad#	$NetBSD: Makefile,v 1.29 2025/12/01 21:22:33 brad Exp $
21.1Sgarbled
31.1Sgarbled.include <bsd.own.mk>
41.1Sgarbled.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
51.1Sgarbled
61.1SgarbledIMAGE=		sshramdisk.fs
71.29SbradIMAGESIZE=	50000k
81.12SchristosMAKEFS_FLAGS+=	-f 15
91.1Sgarbled
101.13Schristos.if ${MKREPRO_TIMESTAMP:Uno} != "no"
111.13SchristosMAKEFS_TIMESTAMP=-T "${MKREPRO_TIMESTAMP}"
121.13SchristosPAX_TIMESTAMP=--timestamp "${MKREPRO_TIMESTAMP}"
131.13Schristos.endif
141.13Schristos
151.1SgarbledWARNS=		1
161.1SgarbledDBG=		-Os
171.1Sgarbled
181.1SgarbledCRUNCHBIN=	ramdiskbin
191.1SgarbledLISTS=		${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
201.1SgarbledMTREECONF=	${.CURDIR}/mtree.conf
211.9Smartin.if empty(MACHINE_ARCH:M*eb)
221.1SgarbledIMAGEENDIAN=	le
231.9Smartin.else
241.9SmartinIMAGEENDIAN=	be
251.9Smartin.endif
261.1SgarbledMAKEDEVTARGETS=	ramdisk
271.1SgarbledIMAGEDEPENDS=	${CRUNCHBIN} \
281.18Smartin		dot.profile master.passwd sshd_config ssh_host_rsa_key \
291.1Sgarbled		${NETBSDSRCDIR}/etc/group \
301.1Sgarbled		${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
311.1Sgarbled		${DISTRIBDIR}/common/services
321.27SchristosIMAGERUNTIME= libdata/firmware
331.28SchristosIMAGESPECEXTRA= libdata
341.1Sgarbled
351.1Sgarbled# Use stubs to eliminate some large stuff from libc
361.1SgarbledHACKSRC=	${DISTRIBDIR}/utils/libhack
371.1Sgarbled.include	"${HACKSRC}/Makefile.inc"
381.23Schristos${CRUNCHBIN}:	libhack.o
391.1Sgarbled
401.1SgarbledUSE_PAM := no
411.1SgarbledUSE_YP := no
421.1SgarbledUSE_SKEY := no
431.1SgarbledUSE_KERBEROS := no
441.1SgarbledUSE_LDAP := no
451.1Sgarbled.export USE_PAM
461.1Sgarbled.export USE_YP
471.1Sgarbled.export USE_SKEY
481.1Sgarbled.export USE_KERBEROS
491.1Sgarbled.export USE_LDAP
501.1Sgarbled
511.1Sgarbled.include "${DISTRIBDIR}/common/Makefile.crunch"
521.1Sgarbled.include "${DISTRIBDIR}/common/Makefile.dhcpcd"
531.1Sgarbled.include "${DISTRIBDIR}/common/Makefile.makedev"
541.1Sgarbled.include "${DISTRIBDIR}/common/Makefile.image"
551.1Sgarbled
561.1Sgarbledrelease:
571.1Sgarbled
581.1Sgarbled.include <bsd.prog.mk>
59