Use consistent names for distribution RAMDISK kernels:

netbsd.able-INSTALL.gz -> netbsd-INSTALL.ABLE.gz
 netbsd.aout-INSTALL.gz -> netbsd-INSTALL.aout.gz

XXX: Probably it's simpler to have default ELF (currently ABLE) kernels
XXX: and optional a.out ones for old firmware as sgimips does for ecoff ones.
This commit is contained in:
tsutsui 2010-10-04 15:56:53 +00:00
parent 531d587aac
commit 961a77cdbb

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.18 2009/08/20 14:43:06 skrll Exp $
# $NetBSD: Makefile,v 1.19 2010/10/04 15:56:53 tsutsui Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@ -6,19 +6,20 @@
RAMDISKDIR!= cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR}
RAMDISK= ${RAMDISKDIR}/ramdisk.fs
MDSETTARGETS= INSTALL ${RAMDISK} netbsd.aout-INSTALL \
INSTALL.ABLE ${RAMDISK} netbsd.able-INSTALL
MDSETTARGETS= INSTALL ${RAMDISK} netbsd-INSTALL.aout \
INSTALL.ABLE ${RAMDISK} -
MDSET_RELEASEDIR= binary/kernel
MDSET_NOSTRIP= # defined
MDSET_POST.netbsd.aout-INSTALL= \
MDSET_POST.netbsd-INSTALL.aout= \
${OBJCOPY} -O a.out-arm-netbsd \
-R .debug_abbrev -R .debug_info -R .debug_line -R .debug_str \
-R .debug_frame -R .debug_loc -R .debug_pubnames -R .debug_aranges \
-R .ident -R .arm.atpcs -R .comment -R .note.netbsd.ident \
-R .ARM.attributes \
${.TARGET} ${.TARGET}
${.TARGET} ${.TARGET}.tmp ;\
mv ${.TARGET}.tmp ${.TARGET}
.include "${DISTRIBDIR}/common/Makefile.mdset"