1 1.55 christos # $NetBSD: Makefile,v 1.55 2025/02/10 19:49:39 christos 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.55 christos IMAGESIZE= 3000k 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.54 rin # Enable Apple UFS support for x_fsck_ffs and x_newfs 25 1.54 rin CRUNCHENV+= APPLE_UFS=1 26 1.23 tsutsui LISTS= ${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst 27 1.23 tsutsui MTREECONF= ${DISTRIBDIR}/common/mtree.common 28 1.23 tsutsui IMAGEENDIAN= be 29 1.23 tsutsui MAKEDEVTARGETS= floppy 30 1.23 tsutsui IMAGEDEPENDS= ${CRUNCHBIN} \ 31 1.37 roy dot.profile \ 32 1.23 tsutsui ${DESTDIR}/usr/mdec/ofwboot ${DESTDIR}/usr/mdec/bootxx \ 33 1.28 lukem ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \ 34 1.34 abs ${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \ 35 1.34 abs ${DISTRIBDIR}/common/services 36 1.30 lukem SMALLPROG_INET6=1 37 1.1 tsubai 38 1.31 lukem .if ${USE_INET6} != "no" 39 1.35 abs LISTS+= ${DISTRIBDIR}/common/list.inet6 40 1.31 lukem .endif 41 1.31 lukem 42 1.22 lukem # Use stubs to eliminate some large stuff from libc 43 1.22 lukem HACKSRC= ${DISTRIBDIR}/utils/libhack 44 1.22 lukem .include "${HACKSRC}/Makefile.inc" 45 1.23 tsutsui ${CRUNCHBIN}: libhack.o 46 1.23 tsutsui 47 1.23 tsutsui .include "${DISTRIBDIR}/common/Makefile.crunch" 48 1.52 sevan .include "${DISTRIBDIR}/common/Makefile.dhcpcd" 49 1.23 tsutsui .include "${DISTRIBDIR}/common/Makefile.makedev" 50 1.23 tsutsui .include "${DISTRIBDIR}/common/Makefile.image" 51 1.29 lukem 52 1.29 lukem release: 53 1.1 tsubai 54 1.20 jmc .include <bsd.prog.mk> 55