Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/i386/floppies/ramdisk-kernel Pullaround from distrib...



details:   https://anonhg.NetBSD.org/src/rev/d9a13c705b42
branches:  trunk
changeset: 496461:d9a13c705b42
user:      jhawk <jhawk%NetBSD.org@localhost>
date:      Thu Aug 24 00:58:02 2000 +0000

description:
Pullaround from distrib/bootfloppy-common/Makefile.inc rev 1.18.2.2:
  Make sure PCMCIA alloc variables are retained in the symbol table of
  the resulting kernel, allowing them to be tweaked.
Also add pcic_irq_probe.

diffstat:

 distrib/i386/floppies/ramdisk-kernel/Makefile |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (38 lines):

diff -r 11c496a6dd6c -r d9a13c705b42 distrib/i386/floppies/ramdisk-kernel/Makefile
--- a/distrib/i386/floppies/ramdisk-kernel/Makefile     Thu Aug 24 00:41:54 2000 +0000
+++ b/distrib/i386/floppies/ramdisk-kernel/Makefile     Thu Aug 24 00:58:02 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.6 2000/08/24 00:41:54 jhawk Exp $
+#      $NetBSD: Makefile,v 1.7 2000/08/24 00:58:02 jhawk Exp $
 
 TOP=           ${.CURDIR}/..
 
@@ -8,6 +8,10 @@
 
 MDEC=          ${DESTDIR}/usr/mdec
 STRIP?=                strip
+STRIPFLAGS?=   --strip-unneeded \
+                   -K pcic_isa_alloc_iobase -K pcic_isa_alloc_iosize \
+                   -K pcic_isa_intr_alloc_mask \
+                   -K pcic_irq_probe
 
 COMMONDIR=     ${TOP}/bootfloppy-common
 LISTS=         ${COMMONDIR}/list
@@ -22,7 +26,7 @@
        cp ${KERNOBJDIR}/INSTALL/netbsd netbsd.tmp
        ${DESTDIR}/usr/sbin/mdsetimage -v netbsd.tmp ${RAMDISK}
        nm netbsd.tmp > netbsd.INSTALL.symbols
-       ${STRIP} netbsd.tmp
+       ${STRIP} ${STRIPFLAGS} netbsd.tmp
        gzip -9 netbsd.tmp
        mv netbsd.tmp.gz ${.TARGET}
 
@@ -30,7 +34,7 @@
        cp ${KERNOBJDIR}/INSTALL_TINY/netbsd netbsd.tmp
        ${DESTDIR}/usr/sbin/mdsetimage -v netbsd.tmp ${RAMDISK_T}
        nm netbsd.tmp > netbsd.INSTALL_TINY.symbols
-       ${STRIP} netbsd.tmp
+       ${STRIP} ${STRIPFLAGS} netbsd.tmp
        gzip -9 netbsd.tmp
        mv netbsd.tmp.gz ${.TARGET}
 



Home | Main Index | Thread Index | Old Index