Makefile revision 1.23
11.22Schristos#	$NetBSD: Makefile,v 1.23 2020/03/01 20:59:54 christos Exp $
21.1Sgarbled
31.1Sgarbled.include <bsd.own.mk>
41.1Sgarbled.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
51.1Sgarbled
61.1SgarbledIMAGE=		sshramdisk.fs
71.21SmlelstvIMAGESIZE=	33000k
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.14SchristosIMAGEPREBUILD=	${TOOL_PAX} ${PAX_TIMESTAMP} -rw -pp ${DESTDIR}/libdata/firmware ${WORKDIR}
331.1Sgarbled
341.1Sgarbled# Use stubs to eliminate some large stuff from libc
351.1SgarbledHACKSRC=	${DISTRIBDIR}/utils/libhack
361.1Sgarbled.include	"${HACKSRC}/Makefile.inc"
371.23Schristos${CRUNCHBIN}:	libhack.o
381.1Sgarbled
391.1SgarbledUSE_PAM := no
401.1SgarbledUSE_YP := no
411.1SgarbledUSE_SKEY := no
421.1SgarbledUSE_KERBEROS := no
431.1SgarbledUSE_LDAP := no
441.1Sgarbled.export USE_PAM
451.1Sgarbled.export USE_YP
461.1Sgarbled.export USE_SKEY
471.1Sgarbled.export USE_KERBEROS
481.1Sgarbled.export USE_LDAP
491.1Sgarbled
501.1Sgarbled.include "${DISTRIBDIR}/common/Makefile.crunch"
511.1Sgarbled.include "${DISTRIBDIR}/common/Makefile.dhcpcd"
521.1Sgarbled.include "${DISTRIBDIR}/common/Makefile.makedev"
531.1Sgarbled.include "${DISTRIBDIR}/common/Makefile.image"
541.1Sgarbled
551.1Sgarbledrelease:
561.1Sgarbled
571.1Sgarbled.include <bsd.prog.mk>
58