For stripped kernels, run nm and save the output as
netbsd.KERNELNAME.symbols, and install in the release(7) tree.
This commit is contained in:
parent
d2f1d733d5
commit
00058e57d8
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.11 2000/05/07 18:21:17 mycroft Exp $
|
||||
# $NetBSD: Makefile,v 1.12 2000/09/09 19:10:10 jhawk Exp $
|
||||
|
||||
.include "../../../../Makefile.inc"
|
||||
|
||||
|
@ -12,6 +12,7 @@ STRIP?= strip # make STRIP=echo can be useful
|
|||
all:
|
||||
cp ${KERNEL} netbsd
|
||||
mdsetimage -v netbsd ${RAMDISK}
|
||||
nm netbsd > netbsd.symbols
|
||||
${STRIP} netbsd
|
||||
gzip -9f netbsd
|
||||
|
||||
|
@ -21,6 +22,7 @@ clean cleandir distclean:
|
|||
release:
|
||||
-mkdir -p ${RELEASEDIR}/binary/kernel
|
||||
cp -p netbsd.gz ${RELEASEDIR}/binary/kernel/netbsd.INSTALL.gz
|
||||
cp netbsd.symbols ${RELEASEDIR}/binary/kernel/netbsd.symbols
|
||||
|
||||
# nothing to do here
|
||||
depend includes lint regress tags:
|
||||
|
|
Loading…
Reference in New Issue