Cross Reference: Makefile
xref: /src/distrib/evbarm/instkernel/instkernel/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/distrib/evbarm/instkernel/instkernel/
Makefile revision 1.31
1#	$NetBSD: Makefile,v 1.31 2019/05/18 07:33:10 skrll Exp $
2
3.include <bsd.own.mk>
4.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
5
6RAMDISKDIR!=	cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR}
7RAMDISK=	${RAMDISKDIR}/ramdisk.fs
8SSHRAMDISKDIR!=	cd ${.CURDIR}/../sshramdisk && ${PRINTOBJDIR}
9SSHRAMDISK=	${SSHRAMDISKDIR}/sshramdisk.fs
10
11.include "${NETBSDSRCDIR}/etc/etc.evbarm/Makefile.inc"
12
13MDSETTARGETS=
14.for i in ${BUILD_KERNELS:M*_INSTALL}
15.if ${i} == "RPI_INSTALL"
16MDSETTARGETS+=		${i}	${SSHRAMDISK}	netbsd-${i}
17MDSET_SUFFIXES.netbsd-${i}=	bin create-bin  img create-img
18.else
19MDSETTARGETS+=		${i}	${RAMDISK}	-
20.endif
21.endfor
22
23MDSET_RELEASEDIR=	installation/instkernel
24
25MDSET_SUFFIXES.-=	srec create-srec  bin create-bin
26create-srec=		${OBJCOPY} -O srec ${.TARGET:R} ${.TARGET}
27create-bin=		${OBJCOPY} -O binary ${.TARGET:R} ${.TARGET}
28create-img=	\
29	${HOST_SH} ${NETBSDSRCDIR}/sys/arch/evbarm/compile/rpi-mkknlimg.sh \
30	${.TARGET:R}.bin ${.TARGET}
31
32.include "${DISTRIBDIR}/common/Makefile.mdset"
33
34.include <bsd.prog.mk>
35

Indexes created Mon Nov 10 17:20:41 GMT 2025