Subject: MDSET_NOSTRIP/MDSET_NOSYMBOLS not working
To: None <tech-toolchain@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-toolchain
Date: 08/23/2006 18:07:26
--OXfL5xGRrasGEqWY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,
I'd like to have the Xen INSTALL kernels not stripped in the distribution,
so that ddb is easier to use (there's no space constraints for Xen install
kernels). I tried the attached patch, but I still get
netbsd-INSTALL_XEN2_DOMU and netbsd-INSTALL_XEN3_DOMU stripped,
and the symbols.gz  files are still generated. Any idea why ?

-- 
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
     NetBSD: 26 ans d'experience feront toujours la difference
--

--OXfL5xGRrasGEqWY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=diff

Index: distrib/i386/instkernel/Makefile
===================================================================
RCS file: /cvsroot/src/distrib/i386/instkernel/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- distrib/i386/instkernel/Makefile	8 Jun 2006 22:17:07 -0000	1.2
+++ distrib/i386/instkernel/Makefile	23 Aug 2006 16:07:39 -0000
@@ -25,6 +25,11 @@
 			INSTALL_TINY		${RESCUE_T}	netbsd-RESCUE_TINY
 
 MDSET_RELEASEDIR=	binary/kernel
+# do not strip Xen kernels, there's no space constraints here.
+MDSET_NOSTRIP.netbsd-INSTALL_XEN2_DOMU=	1
+MDSET_NOSTRIP.netbsd-INSTALL_XEN3_DOMU=	1
+MDSET_NOSYMBOLS.netbsd-INSTALL_XEN2_DOMU=	1
+MDSET_NOSYMBOLS.netbsd-INSTALL_XEN3_DOMU=	1
 
 .include "${DISTRIBDIR}/common/Makefile.mdset"
 

--OXfL5xGRrasGEqWY--