Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / distrib / amd64 / ramdisks / common / Makefile.ramdisk
blob73aea065730f4ab1e37b7852749b95be0e9b9800
1 #       $NetBSD: Makefile.ramdisk,v 1.6 2009/09/20 19:49:07 abs Exp $
3 .include <bsd.own.mk>
4 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
6 AMD64COMMON=    ${.CURDIR}/../common
8 .PATH:          ${AMD64COMMON}
10 WARNS=          1
11 DBG=            -Os -fno-asynchronous-unwind-tables
12 CRUNCHGEN_FLAGS= -d "${DBG}"
14 CRUNCHBIN=      ramdiskbin
15 LISTS=          ${.CURDIR}/list ${AMD64COMMON}/list.ramdisk
16 MTREECONF=      ${DISTRIBDIR}/common/mtree.common
17 IMAGEENDIAN=    le
18 IMAGEDEPENDS+=  ${CRUNCHBIN} \
19                 dot.profile \
20                 ${DESTDIR}/usr/mdec/boot \
21                 ${DESTDIR}/usr/mdec/bootxx_ffsv1 \
22                 ${DESTDIR}/usr/mdec/mbr \
23                 ${DESTDIR}/usr/mdec/mbr_ext \
24                 ${DESTDIR}/usr/mdec/mbr_bootsel \
25                 ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
26                 ${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
27                 ${DISTRIBDIR}/common/services \
28                 ${DISTRIBDIR}/common/termcap
29 PARSELISTENV+=  BOOTMODEL=${BOOTMODEL:Q}
31 .if defined(USE_SYSINST)
32 LISTS+=         ${DISTRIBDIR}/common/list.sysinst
33 MAKEFS_FLAGS+=  -f 14
34 .endif
36 # Use stubs to eliminate some large stuff from libc
37 HACKSRC=        ${DISTRIBDIR}/utils/libhack
38 .include        "${HACKSRC}/Makefile.inc"
39 ${CRUNCHBIN}:   libhack.o
41 .include "${DISTRIBDIR}/common/Makefile.crunch"
42 .include "${DISTRIBDIR}/common/Makefile.dhcpcd"
43 .include "${DISTRIBDIR}/common/Makefile.makedev"
44 .include "${DISTRIBDIR}/common/Makefile.image"
46 release:
48 .include <bsd.prog.mk>