Thu Jan 9 22:58:15 2014 UTC ()
Build BE ramdisks for BE MACHINE_ARCH's


(matt)
diff -r1.4 -r1.4.24.1 src/distrib/evbarm/instkernel/ramdisk/Makefile

cvs diff -r1.4 -r1.4.24.1 src/distrib/evbarm/instkernel/ramdisk/Makefile (expand / switch to unified diff)

--- src/distrib/evbarm/instkernel/ramdisk/Makefile 2007/05/10 23:22:29 1.4
+++ src/distrib/evbarm/instkernel/ramdisk/Makefile 2014/01/09 22:58:15 1.4.24.1
@@ -1,29 +1,33 @@ @@ -1,29 +1,33 @@
1# $NetBSD: Makefile,v 1.4 2007/05/10 23:22:29 dogcow Exp $ 1# $NetBSD: Makefile,v 1.4.24.1 2014/01/09 22:58:15 matt 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
6IMAGE= ramdisk.fs 6IMAGE= ramdisk.fs
7IMAGESIZE= 3072k 7IMAGESIZE= 3072k
8MAKEFS_FLAGS= -f 15 8MAKEFS_FLAGS= -f 15
9 9
10WARNS= 1 10WARNS= 1
11DBG= -Os 11DBG= -Os
12 12
13CRUNCHBIN= ramdiskbin 13CRUNCHBIN= ramdiskbin
14LISTS= ${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst 14LISTS= ${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
15MTREECONF= ${DISTRIBDIR}/common/mtree.common 15MTREECONF= ${DISTRIBDIR}/common/mtree.common
 16.if empty(MACHINE_ARCH:M*eb)
16IMAGEENDIAN= le 17IMAGEENDIAN= le
 18.else
 19IMAGEENDIAN= be
 20.endif
17MAKEDEVTARGETS= ramdisk 21MAKEDEVTARGETS= ramdisk
18IMAGEDEPENDS= ${CRUNCHBIN} \ 22IMAGEDEPENDS= ${CRUNCHBIN} \
19 disktab.preinstall dot.hdprofile dot.profile \ 23 disktab.preinstall dot.hdprofile dot.profile \
20 ${DESTDIR}/usr/share/misc/termcap \ 24 ${DESTDIR}/usr/share/misc/termcap \
21 ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \ 25 ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
22 ${NETBSDSRCDIR}/etc/netconfig ${NETBSDSRCDIR}/etc/protocols \ 26 ${NETBSDSRCDIR}/etc/netconfig ${NETBSDSRCDIR}/etc/protocols \
23 ${NETBSDSRCDIR}/distrib/common/services 27 ${NETBSDSRCDIR}/distrib/common/services
24 28
25# Use stubs to eliminate some large stuff from libc 29# Use stubs to eliminate some large stuff from libc
26HACKSRC= ${DISTRIBDIR}/utils/libhack 30HACKSRC= ${DISTRIBDIR}/utils/libhack
27.include "${HACKSRC}/Makefile.inc" 31.include "${HACKSRC}/Makefile.inc"
28${CRUNCHBIN}: libhack.o 32${CRUNCHBIN}: libhack.o
29 33