Home | History | Annotate | Line # | Download | only in ramdisk
Makefile revision 1.53
      1  1.53    martin #	$NetBSD: Makefile,v 1.53 2021/05/25 10:58:41 martin Exp $
      2   1.1    tsubai 
      3  1.23   tsutsui .include <bsd.own.mk>
      4  1.29     lukem .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
      5   1.1    tsubai 
      6   1.1    tsubai IMAGE=		ramdisk.fs
      7  1.49     scole # This must be kept in sync with config option MEMORY_DISK_ROOT_SIZE in
      8  1.45       gdt #   src/sys/arch/macppc/conf/INSTALL
      9  1.49     scole #   src/sys/arch/macppc/conf/INSTALL_601
     10  1.45       gdt #   src/sys/arch/macppc/conf/GENERIC_MD
     11  1.50     scole IMAGESIZE=	2880k
     12  1.48  christos MAKEFS_FLAGS+=	-f 15
     13   1.1    tsubai 
     14  1.23   tsutsui WARNS=		1
     15  1.53    martin 
     16  1.53    martin # No point in using 64bit binaries (if building for MACHINE_ARCH=powerpc64)
     17  1.53    martin # on the ramdisk, keep it small
     18  1.53    martin DBG=		-Os -m32
     19  1.53    martin HACK_LD_FLAGS=	-m elf32ppc_nbsd
     20  1.53    martin LDFLAGS+=	-m32 -Wl,-melf32ppc_nbsd
     21   1.1    tsubai 
     22  1.23   tsutsui CRUNCHBIN=	ramdiskbin
     23  1.53    martin CRUNCHENV+=	LDFLAGS=${LDFLAGS:Q}
     24  1.23   tsutsui LISTS=		${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
     25  1.23   tsutsui MTREECONF=	${DISTRIBDIR}/common/mtree.common
     26  1.23   tsutsui IMAGEENDIAN=	be
     27  1.23   tsutsui MAKEDEVTARGETS=	floppy
     28  1.23   tsutsui IMAGEDEPENDS=	${CRUNCHBIN} \
     29  1.37       roy 		dot.profile \
     30  1.23   tsutsui 		${DESTDIR}/usr/mdec/ofwboot ${DESTDIR}/usr/mdec/bootxx \
     31  1.28     lukem 		${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
     32  1.34       abs 		${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
     33  1.34       abs 		${DISTRIBDIR}/common/services
     34  1.30     lukem SMALLPROG_INET6=1
     35   1.1    tsubai 
     36  1.31     lukem .if ${USE_INET6} != "no"
     37  1.35       abs LISTS+=		${DISTRIBDIR}/common/list.inet6
     38  1.31     lukem .endif
     39  1.31     lukem 
     40  1.22     lukem # Use stubs to eliminate some large stuff from libc
     41  1.22     lukem HACKSRC=	${DISTRIBDIR}/utils/libhack
     42  1.22     lukem .include	"${HACKSRC}/Makefile.inc"
     43  1.23   tsutsui ${CRUNCHBIN}:	libhack.o
     44  1.23   tsutsui 
     45  1.23   tsutsui .include "${DISTRIBDIR}/common/Makefile.crunch"
     46  1.52     sevan .include "${DISTRIBDIR}/common/Makefile.dhcpcd"
     47  1.23   tsutsui .include "${DISTRIBDIR}/common/Makefile.makedev"
     48  1.23   tsutsui .include "${DISTRIBDIR}/common/Makefile.image"
     49  1.29     lukem 
     50  1.29     lukem release:
     51   1.1    tsubai 
     52  1.20       jmc .include <bsd.prog.mk>
     53