Cross Reference: Makefile
xref: /src/distrib/cats/instkernel/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/distrib/cats/instkernel/
Makefile revision 1.20
1#	$NetBSD: Makefile,v 1.20 2011/07/02 17:37:28 tsutsui Exp $
2
3.include <bsd.own.mk>
4.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
5
6RAMDISKDIR!=	cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR}
7RAMDISK=	${RAMDISKDIR}/ramdisk.fs
8
9MDSETTARGETS=		INSTALL ${RAMDISK} netbsd-INSTALL.aout \
10			INSTALL.ABLE ${RAMDISK} -
11MDSET_RELEASEDIR=	binary/kernel
12
13MDSET_NOSTRIP=		# defined
14
15REMOVE_SECTIONS= \
16	-R .ident -R .arm.atpcs -R .comment -R .note.netbsd.ident \
17	-R .debug_abbrev -R .debug_info -R .debug_line -R .debug_str \
18	-R .debug_frame -R .debug_loc -R .debug_pubnames \
19	-R .debug_aranges -R .debug_pubtypes -R .ARM.attributes
20
21MDSET_POST.netbsd-INSTALL.aout= \
22    ${OBJCOPY} -O a.out-arm-netbsd \
23	${REMOVE_SECTIONS} \
24	${.TARGET} ${.TARGET}.tmp ;\
25	mv ${.TARGET}.tmp ${.TARGET}
26
27.include "${DISTRIBDIR}/common/Makefile.mdset"
28
29.include <bsd.prog.mk>
30

Indexes created Mon Dec 15 18:09:34 GMT 2025