Home | History | Annotate | Line # | Download | only in sshramdisk
Makefile revision 1.4
      1 #	$NetBSD: Makefile,v 1.4 2014/08/12 11:49:04 martin Exp $
      2 
      3 .include <bsd.own.mk>
      4 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
      5 
      6 IMAGE=		sshramdisk.fs
      7 IMAGESIZE=	8600k
      8 MAKEFS_FLAGS=	-f 15
      9 
     10 WARNS=		1
     11 DBG=		-Os
     12 
     13 CRUNCHBIN=	ramdiskbin
     14 LISTS=		${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
     15 MTREECONF=	${.CURDIR}/mtree.conf
     16 IMAGEENDIAN=	le
     17 MAKEDEVTARGETS=	ramdisk
     18 IMAGEDEPENDS=	${CRUNCHBIN} \
     19 		dot.profile master.passwd sshd_config ssh_host_dsa_key \
     20 		${NETBSDSRCDIR}/etc/group \
     21 		${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
     22 		${DISTRIBDIR}/common/services
     23 IMAGEPREBUILD=	${TOOL_PAX} -rw -pp ${DESTDIR}/libdata/firmware ${WORKDIR}
     24 
     25 # Use stubs to eliminate some large stuff from libc
     26 HACKSRC=	${DISTRIBDIR}/utils/libhack
     27 .include	"${HACKSRC}/Makefile.inc"
     28 ${CRUNCHBIN}:	libhack.o
     29 
     30 USE_PAM := no
     31 USE_YP := no
     32 USE_SKEY := no
     33 USE_KERBEROS := no
     34 USE_LDAP := no
     35 .export USE_PAM
     36 .export USE_YP
     37 .export USE_SKEY
     38 .export USE_KERBEROS
     39 .export USE_LDAP
     40 
     41 .include "${DISTRIBDIR}/common/Makefile.crunch"
     42 .include "${DISTRIBDIR}/common/Makefile.dhcpcd"
     43 .include "${DISTRIBDIR}/common/Makefile.makedev"
     44 .include "${DISTRIBDIR}/common/Makefile.image"
     45 
     46 release:
     47 
     48 .include <bsd.prog.mk>
     49