1 1.10 apb # $NetBSD: Makefile.ramdisk,v 1.10 2012/10/16 08:23:20 apb 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.1 hubertf ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \ 29 1.6 abs ${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \ 30 1.9 roy ${DISTRIBDIR}/common/services 31 1.1 hubertf PARSELISTENV+= BOOTMODEL=${BOOTMODEL:Q} 32 1.1 hubertf 33 1.1 hubertf .if defined(USE_SYSINST) 34 1.1 hubertf LISTS+= ${DISTRIBDIR}/common/list.sysinst 35 1.1 hubertf MAKEFS_FLAGS+= -f 14 36 1.1 hubertf .endif 37 1.1 hubertf 38 1.1 hubertf # Use stubs to eliminate some large stuff from libc 39 1.1 hubertf HACKSRC= ${DISTRIBDIR}/utils/libhack 40 1.1 hubertf .include "${HACKSRC}/Makefile.inc" 41 1.1 hubertf ${CRUNCHBIN}: libhack.o 42 1.1 hubertf 43 1.1 hubertf .include "${DISTRIBDIR}/common/Makefile.crunch" 44 1.5 joerg .include "${DISTRIBDIR}/common/Makefile.dhcpcd" 45 1.1 hubertf .include "${DISTRIBDIR}/common/Makefile.makedev" 46 1.1 hubertf .include "${DISTRIBDIR}/common/Makefile.image" 47 1.1 hubertf 48 1.1 hubertf release: 49 1.1 hubertf 50 1.1 hubertf .include <bsd.prog.mk> 51