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