| @@ -1,32 +1,33 @@ | | | @@ -1,32 +1,33 @@ |
1 | # $NetBSD: Makefile.ramdisk,v 1.8 2012/10/16 08:23:21 apb Exp $ | | 1 | # $NetBSD: Makefile.ramdisk,v 1.9 2018/12/24 20:11:22 mrg Exp $ |
2 | | | 2 | |
3 | .include <bsd.own.mk> | | 3 | .include <bsd.own.mk> |
4 | .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" | | 4 | .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" |
5 | | | 5 | |
6 | OFPPCCOMMON= ${.CURDIR}/../common | | 6 | OFPPCCOMMON= ${.CURDIR}/../common |
7 | | | 7 | |
8 | .PATH: ${OFPPCCOMMON} | | 8 | .PATH: ${OFPPCCOMMON} |
9 | | | 9 | |
10 | WARNS= 1 | | 10 | WARNS= 1 |
11 | DBG= -Os -fno-asynchronous-unwind-tables | | 11 | DBG= -Os -fno-asynchronous-unwind-tables |
12 | CRUNCHGEN_FLAGS= -d "${DBG}" | | 12 | CRUNCHGEN_FLAGS= -d "${DBG}" |
13 | | | 13 | |
14 | CRUNCHBIN= ramdiskbin | | 14 | CRUNCHBIN= ramdiskbin |
15 | | | 15 | |
16 | # Use ${.CURDIR}/list only if LISTS was not already defined by the caller. | | 16 | # Use ${.CURDIR}/list only if LISTS was not already defined by the caller. |
17 | LISTS?= ${.CURDIR}/list | | 17 | LISTS?= ${.CURDIR}/list |
18 | LISTS+= ${OFPPCCOMMON}/list.ramdisk | | 18 | LISTS+= ${OFPPCCOMMON}/list.ramdisk |
19 | MTREECONF= ${DISTRIBDIR}/common/mtree.common ${.CURDIR}/../common/mtree.ramdisk | | 19 | MTREECONF= ${DISTRIBDIR}/common/mtree.common ${.CURDIR}/../common/mtree.ramdisk |
| | | 20 | MAKEDEVTARGETS= ramdisk |
20 | IMAGEENDIAN= le | | 21 | IMAGEENDIAN= le |
21 | IMAGEDEPENDS+= ${CRUNCHBIN} \ | | 22 | IMAGEDEPENDS+= ${CRUNCHBIN} \ |
22 | dot.profile \ | | 23 | dot.profile \ |
23 | ${DESTDIR}/usr/mdec/ofwboot \ | | 24 | ${DESTDIR}/usr/mdec/ofwboot \ |
24 | ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \ | | 25 | ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \ |
25 | ${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \ | | 26 | ${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \ |
26 | ${DISTRIBDIR}/common/services | | 27 | ${DISTRIBDIR}/common/services |
27 | PARSELISTENV+= BOOTMODEL=${BOOTMODEL:Q} | | 28 | PARSELISTENV+= BOOTMODEL=${BOOTMODEL:Q} |
28 | | | 29 | |
29 | .if defined(USE_SYSINST) | | 30 | .if defined(USE_SYSINST) |
30 | # MI sysinst list has has languages we do not | | 31 | # MI sysinst list has has languages we do not |
31 | #LISTS+= ${DISTRIBDIR}/common/list.sysinst | | 32 | #LISTS+= ${DISTRIBDIR}/common/list.sysinst |
32 | LISTS+= ${.CURDIR}/../common/list.sysinst | | 33 | LISTS+= ${.CURDIR}/../common/list.sysinst |