Install a.out version of INSTALL kernel in release. Slightly modified
from a patch provided by Izumi Tsutsui as response to PR 41672.
This commit is contained in:
parent
80ea658d23
commit
cc125f84ea
|
@ -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 @@ RAMDISK= ${RAMDISKDIR}/ramdisk.fs
|
|||
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"
|
||||
|
||||
|
|
|
@ -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_SETS= GENERIC
|
|||
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'
|
||||
|
|
Loading…
Reference in New Issue