Home | History | Annotate | Line # | Download | only in sshramdisk
Makefile revision 1.13
      1  1.13  christos #	$NetBSD: Makefile,v 1.13 2017/02/11 03:07:06 christos Exp $
      2   1.1   garbled 
      3   1.1   garbled .include <bsd.own.mk>
      4   1.1   garbled .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
      5   1.1   garbled 
      6   1.1   garbled IMAGE=		sshramdisk.fs
      7  1.11  christos IMAGESIZE=	20000k
      8  1.12  christos MAKEFS_FLAGS+=	-f 15
      9   1.1   garbled 
     10  1.13  christos .if ${MKREPRO_TIMESTAMP:Uno} != "no"
     11  1.13  christos MAKEFS_TIMESTAMP=-T "${MKREPRO_TIMESTAMP}"
     12  1.13  christos PAX_TIMESTAMP=--timestamp "${MKREPRO_TIMESTAMP}"
     13  1.13  christos .endif
     14  1.13  christos 
     15   1.1   garbled WARNS=		1
     16   1.1   garbled DBG=		-Os
     17   1.1   garbled 
     18   1.1   garbled CRUNCHBIN=	ramdiskbin
     19   1.1   garbled LISTS=		${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
     20   1.1   garbled MTREECONF=	${.CURDIR}/mtree.conf
     21   1.9    martin .if empty(MACHINE_ARCH:M*eb)
     22   1.1   garbled IMAGEENDIAN=	le
     23   1.9    martin .else
     24   1.9    martin IMAGEENDIAN=	be
     25   1.9    martin .endif
     26   1.1   garbled MAKEDEVTARGETS=	ramdisk
     27   1.1   garbled IMAGEDEPENDS=	${CRUNCHBIN} \
     28   1.1   garbled 		dot.profile master.passwd sshd_config ssh_host_dsa_key \
     29   1.1   garbled 		${NETBSDSRCDIR}/etc/group \
     30   1.1   garbled 		${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
     31   1.1   garbled 		${DISTRIBDIR}/common/services
     32  1.13  christos IMAGEPREBUILD=	${TOOL_PAX} ${PAX_TIMESTAMP{ -rw -pp ${DESTDIR}/libdata/firmware ${WORKDIR}
     33   1.1   garbled 
     34   1.1   garbled # Use stubs to eliminate some large stuff from libc
     35   1.1   garbled HACKSRC=	${DISTRIBDIR}/utils/libhack
     36   1.1   garbled .include	"${HACKSRC}/Makefile.inc"
     37   1.1   garbled ${CRUNCHBIN}:	libhack.o
     38   1.1   garbled 
     39   1.1   garbled USE_PAM := no
     40   1.1   garbled USE_YP := no
     41   1.1   garbled USE_SKEY := no
     42   1.1   garbled USE_KERBEROS := no
     43   1.1   garbled USE_LDAP := no
     44   1.1   garbled .export USE_PAM
     45   1.1   garbled .export USE_YP
     46   1.1   garbled .export USE_SKEY
     47   1.1   garbled .export USE_KERBEROS
     48   1.1   garbled .export USE_LDAP
     49   1.1   garbled 
     50   1.1   garbled .include "${DISTRIBDIR}/common/Makefile.crunch"
     51   1.1   garbled .include "${DISTRIBDIR}/common/Makefile.dhcpcd"
     52   1.1   garbled .include "${DISTRIBDIR}/common/Makefile.makedev"
     53   1.1   garbled .include "${DISTRIBDIR}/common/Makefile.image"
     54   1.1   garbled 
     55   1.1   garbled release:
     56   1.1   garbled 
     57   1.1   garbled .include <bsd.prog.mk>
     58