1 1.13 pgoyette # $NetBSD: Makefile.ramdisk,v 1.13 2019/01/27 02:08:33 pgoyette Exp $ 2 1.13 pgoyette 3 1.13 pgoyette NOSANITIZER= # defined 4 1.12 kamil 5 1.12 kamil NOSANITIZER= # defined 6 1.1 hubertf 7 1.1 hubertf .include <bsd.own.mk> 8 1.1 hubertf .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" 9 1.1 hubertf 10 1.1 hubertf AMD64COMMON= ${.CURDIR}/../common 11 1.1 hubertf 12 1.1 hubertf .PATH: ${AMD64COMMON} 13 1.1 hubertf 14 1.1 hubertf WARNS= 1 15 1.1 hubertf DBG= -Os -fno-asynchronous-unwind-tables 16 1.1 hubertf CRUNCHGEN_FLAGS= -d "${DBG}" 17 1.1 hubertf 18 1.1 hubertf CRUNCHBIN= ramdiskbin 19 1.10 apb 20 1.10 apb # Use ${.CURDIR}/list only if LISTS was not already defined by the caller. 21 1.10 apb LISTS?= ${.CURDIR}/list 22 1.10 apb LISTS+= ${AMD64COMMON}/list.ramdisk 23 1.1 hubertf MTREECONF= ${DISTRIBDIR}/common/mtree.common 24 1.1 hubertf IMAGEENDIAN= le 25 1.1 hubertf IMAGEDEPENDS+= ${CRUNCHBIN} \ 26 1.3 tsutsui dot.profile \ 27 1.1 hubertf ${DESTDIR}/usr/mdec/boot \ 28 1.1 hubertf ${DESTDIR}/usr/mdec/bootxx_ffsv1 \ 29 1.1 hubertf ${DESTDIR}/usr/mdec/mbr \ 30 1.1 hubertf ${DESTDIR}/usr/mdec/mbr_ext \ 31 1.1 hubertf ${DESTDIR}/usr/mdec/mbr_bootsel \ 32 1.11 martin ${DESTDIR}/usr/mdec/gptmbr.bin \ 33 1.1 hubertf ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \ 34 1.6 abs ${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \ 35 1.9 roy ${DISTRIBDIR}/common/services 36 1.1 hubertf PARSELISTENV+= BOOTMODEL=${BOOTMODEL:Q} 37 1.1 hubertf 38 1.1 hubertf .if defined(USE_SYSINST) 39 1.1 hubertf LISTS+= ${DISTRIBDIR}/common/list.sysinst 40 1.1 hubertf MAKEFS_FLAGS+= -f 14 41 1.1 hubertf .endif 42 1.1 hubertf 43 1.1 hubertf # Use stubs to eliminate some large stuff from libc 44 1.1 hubertf HACKSRC= ${DISTRIBDIR}/utils/libhack 45 1.1 hubertf .include "${HACKSRC}/Makefile.inc" 46 1.1 hubertf ${CRUNCHBIN}: libhack.o 47 1.1 hubertf 48 1.1 hubertf .include "${DISTRIBDIR}/common/Makefile.crunch" 49 1.5 joerg .include "${DISTRIBDIR}/common/Makefile.dhcpcd" 50 1.1 hubertf .include "${DISTRIBDIR}/common/Makefile.makedev" 51 1.1 hubertf .include "${DISTRIBDIR}/common/Makefile.image" 52 1.1 hubertf 53 1.1 hubertf release: 54 1.1 hubertf 55 1.1 hubertf .include <bsd.prog.mk> 56