Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Install a.out version of INSTALL kernel in release. Slightly...
details: https://anonhg.NetBSD.org/src/rev/cfbdfb3bbbe4
branches: trunk
changeset: 748818:cfbdfb3bbbe4
user: is <is%NetBSD.org@localhost>
date: Fri Nov 06 12:31:44 2009 +0000
description:
Install a.out version of INSTALL kernel in release. Slightly modified
from a patch provided by Izumi Tsutsui as response to PR 41672.
diffstat:
distrib/shark/instkernel/instkernel/Makefile | 15 +++++++++------
etc/etc.shark/Makefile.inc | 9 +--------
2 files changed, 10 insertions(+), 14 deletions(-)
diffs (49 lines):
diff -r 4682f156bcb1 -r cfbdfb3bbbe4 distrib/shark/instkernel/instkernel/Makefile
--- a/distrib/shark/instkernel/instkernel/Makefile Fri Nov 06 10:59:17 2009 +0000
+++ b/distrib/shark/instkernel/instkernel/Makefile Fri Nov 06 12:31:44 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2009/09/02 07:48:50 skrll Exp $
+# $NetBSD: Makefile,v 1.19 2009/11/06 12:31:44 is Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -9,11 +9,14 @@
MDSETTARGETS= INSTALL ${RAMDISK} -
MDSET_RELEASEDIR= binary/kernel
-MDSET_POST= \
- ${OBJCOPY} -O a.out-arm-netbsd -R .ident -R .arm.atpcs -R .comment \
- -R .note.netbsd.ident -R .ARM.attributes \
- ${.TARGET} ${.TARGET}.aout; \
- gzip -9nc ${.TARGET}.aout >${.TARGET}.aout.gz
+MDSET_SUFFIXES.-= aout create-aout
+create-aout= \
+ ${OBJCOPY} -O a.out-arm-netbsd \
+ -R .ident -R .arm.atpcs -R .comment -R .note.netbsd.ident \
+ -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 .ARM.attributes \
+ ${.TARGET:R} ${.TARGET}
.include "${DISTRIBDIR}/common/Makefile.mdset"
diff -r 4682f156bcb1 -r cfbdfb3bbbe4 etc/etc.shark/Makefile.inc
--- a/etc/etc.shark/Makefile.inc Fri Nov 06 10:59:17 2009 +0000
+++ b/etc/etc.shark/Makefile.inc Fri Nov 06 12:31:44 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.10 2008/03/18 04:20:37 lukem Exp $
+# $NetBSD: Makefile.inc,v 1.11 2009/11/06 12:31:44 is Exp $
#
# etc.shark/Makefile.inc -- shark-specific etc Makefile targets
#
@@ -10,10 +10,3 @@
KERNEL_SUFFIXES= aout
BUILD_KERNELS= INSTALL
-
-INSTALLATION_DIRS+= installation/instkernel
-
-snap_md_post:
- cd ${NETBSDSRCDIR}/distrib/shark/instkernel/instkernel && \
- ${MAKE} release-aout-instkernel
- ${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/instkernel '*.gz'
Home |
Main Index |
Thread Index |
Old Index