Home | History | Annotate | Line # | Download | only in sshramdisk
Makefile revision 1.9
      1 #	$NetBSD: Makefile,v 1.9 2015/07/15 11:24:03 martin Exp $
      2 
      3 .include <bsd.own.mk>
      4 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
      5 
      6 IMAGE=		sshramdisk.fs
      7 IMAGESIZE=	14848k
      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 .if empty(MACHINE_ARCH:M*eb)
     17 IMAGEENDIAN=	le
     18 .else
     19 IMAGEENDIAN=	be
     20 .endif
     21 MAKEDEVTARGETS=	ramdisk
     22 IMAGEDEPENDS=	${CRUNCHBIN} \
     23 		dot.profile master.passwd sshd_config ssh_host_dsa_key \
     24 		${NETBSDSRCDIR}/etc/group \
     25 		${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
     26 		${DISTRIBDIR}/common/services
     27 IMAGEPREBUILD=	${TOOL_PAX} -rw -pp ${DESTDIR}/libdata/firmware ${WORKDIR}
     28 
     29 # Use stubs to eliminate some large stuff from libc
     30 HACKSRC=	${DISTRIBDIR}/utils/libhack
     31 .include	"${HACKSRC}/Makefile.inc"
     32 ${CRUNCHBIN}:	libhack.o
     33 
     34 USE_PAM := no
     35 USE_YP := no
     36 USE_SKEY := no
     37 USE_KERBEROS := no
     38 USE_LDAP := no
     39 .export USE_PAM
     40 .export USE_YP
     41 .export USE_SKEY
     42 .export USE_KERBEROS
     43 .export USE_LDAP
     44 
     45 .include "${DISTRIBDIR}/common/Makefile.crunch"
     46 .include "${DISTRIBDIR}/common/Makefile.dhcpcd"
     47 .include "${DISTRIBDIR}/common/Makefile.makedev"
     48 .include "${DISTRIBDIR}/common/Makefile.image"
     49 
     50 release:
     51 
     52 .include <bsd.prog.mk>
     53