Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / distrib / sgimips / miniroot / Makefile.inc.xxx
blob47c2398be170854a3ba6777203889898e791b461
1 #       $NetBSD: Makefile.inc.xxx,v 1.5 2009/09/20 22:46:13 abs Exp $
3 DBG=            -Os -Wa,-xgot # XXX -xgot workaround for objcopy-crunchide
5 IMAGESIZE=      7m
6 MAKEFS_FLAGS=   -f 15
7 IMAGEENDIAN?=   be
8 MAKEDEVTARGETS= all
9 LISTS+=         ${DISTRIBDIR}/common/list.sysinst
10 MTREECONF+=     ${.CURDIR}/mtree.usr.install
11 IMAGEDEPENDS+=  ${ARCHDIR}/dot.profile ${DISTRIBDIR}/common/termcap \
12                 ${DESTDIR}/.profile \
13                 ${KERNOBJDIR}/GENERIC32_IP2x/netbsd.ecoff \
14                 ${KERNOBJDIR}/GENERIC32_IP2x/netbsd \
15                 ${KERNOBJDIR}/GENERIC32_IP3x/netbsd
17 # Write preliminary Label so that newfs succeeds when updating label.
18 PRELABEL=${DESTDIR}/sbin/disklabel -w ${VND} ${DISKTYPE} ; \
19         ${DESTDIR}/usr/mdec/sgivol -if ${VND} ;\
20         ${DESTDIR}/usr/mdec/sgivol -wf aoutboot /usr/mdec/aoutboot ${VND} ; \
21         ${DESTDIR}/usr/mdec/sgivol -wf ip2xboot /usr/mdec/ip2xboot ${VND} ; \
22         ${DESTDIR}/usr/mdec/sgivol -wf ip3xboot /usr/mdec/ip3xboot ${VND}
24 image_md_post: