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