Cross Reference: Makefile
xref: /src/distrib/sun2/ramdisk/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/distrib/sun2/ramdisk/
Makefile revision 1.26
1#	$NetBSD: Makefile,v 1.26 2021/03/01 16:50:01 martin Exp $
2
3.include <bsd.own.mk>
4.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
5.include <bsd.kernobj.mk>
6
7IMAGE=		ramdisk.fs
8IMAGESIZE=	600k
9MAKEFS_FLAGS+=	-f 15 -o density=2048
10
11WARNS=		1
12DBG=		-Os -fno-unwind-tables
13
14CRUNCHBIN=	rd_bin
15LISTS=		${.CURDIR}/list
16MTREECONF=	${.CURDIR}/mtree.conf
17IMAGEENDIAN=	be
18MAKEDEVTARGETS=	std md0 cd0 st0 st1 sd0 sd1 sd2 xd0 xy0
19IMAGEDEPENDS=	${CRUNCHBIN} \
20		fstab passwd protocols ${DISTRIBDIR}/common/services \
21		sshrc welcome ${NETBSDSRCDIR}/etc/netconfig
22
23MDSETTARGETS=		RAMDISK ramdisk.fs -
24MDSET_RELEASEDIR=	binary/kernel
25
26# Use stubs to eliminate some large stuff from libc
27HACKSRC=	${DISTRIBDIR}/utils/libhack
28.MAKEFLAGS+=	NOIEEE80211=1
29.include	"${HACKSRC}/Makefile.inc"
30${CRUNCHBIN}:	libhack.o
31
32fstab: .PHONY
33
34.include "${DISTRIBDIR}/common/Makefile.crunch"
35.include "${DISTRIBDIR}/common/Makefile.makedev"
36.include "${DISTRIBDIR}/common/Makefile.image"
37.include "${DISTRIBDIR}/common/Makefile.mdset"
38
39.include <bsd.prog.mk>
40

Indexes created Mon Jan 26 14:10:17 GMT 2026