aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorGeoff Rehmet <csgr@FreeBSD.org>1994-09-29 14:02:40 +0000
committerGeoff Rehmet <csgr@FreeBSD.org>1994-09-29 14:02:40 +0000
commit27476ec8f6e44e622cbba551c6e47e6d0a5a4f31 (patch)
treef399902757701703b44a5741076413771048d7e5 /sys
parentd3a29150bed850e0e417267eb84a46478970052a (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/conf/Makefile.i38613
-rw-r--r--sys/conf/Makefile.powerpc13
-rw-r--r--sys/i386/conf/Makefile.i38613
3 files changed, 33 insertions, 6 deletions
diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386
index 232793437dae..097d6884c00a 100644
--- a/sys/conf/Makefile.i386
+++ b/sys/conf/Makefile.i386
@@ -1,6 +1,6 @@
# Copyright 1990 W. Jolitz
# from: @(#)Makefile.i386 7.1 5/10/91
-# $Id: Makefile.i386,v 1.37 1994/09/16 10:23:46 jkh Exp $
+# $Id: Makefile.i386,v 1.38 1994/09/23 07:01:59 phk Exp $
#
# Makefile for FreeBSD
#
@@ -25,6 +25,15 @@ LD= /usr/bin/ld
CC= cc
CPP= cpp
DBSYM= /usr/sbin/dbsym
+.if defined(DEBUG)
+.if defined(NOSTRIP)
+STRIP= echo '(skipping) strip'
+.else
+STRIP= cp $@ $@.sym; strip
+.endif
+.else
+STRIP= strip
+.endif
.if exists(./@/.)
S= ./@
@@ -65,7 +74,7 @@ SYSTEM_DEP=Makefile symbols.sort ${SYSTEM_OBJS} libkern.a
SYSTEM_LD_HEAD= @echo loading $@; rm -f $@
SYSTEM_LD= @${LD} -Bstatic -Z -T ${LOAD_ADDRESS} -o $@ -X ${SYSTEM_OBJS} vers.o libkern.a
SYSTEM_LD_TAIL= @echo rearranging symbols; symorder symbols.sort $@; \
- ${DBSYM} -fT ${LOAD_ADDRESS} $@; size $@; chmod 755 $@
+ ${DBSYM} -fT ${LOAD_ADDRESS} $@; ${STRIP} -x $@; size $@; chmod 755 $@
# (XXX) ok, this is weird. but we've got a working ed, and a broken ex, and
# the script is identical for either... -- cgd
diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc
index 232793437dae..097d6884c00a 100644
--- a/sys/conf/Makefile.powerpc
+++ b/sys/conf/Makefile.powerpc
@@ -1,6 +1,6 @@
# Copyright 1990 W. Jolitz
# from: @(#)Makefile.i386 7.1 5/10/91
-# $Id: Makefile.i386,v 1.37 1994/09/16 10:23:46 jkh Exp $
+# $Id: Makefile.i386,v 1.38 1994/09/23 07:01:59 phk Exp $
#
# Makefile for FreeBSD
#
@@ -25,6 +25,15 @@ LD= /usr/bin/ld
CC= cc
CPP= cpp
DBSYM= /usr/sbin/dbsym
+.if defined(DEBUG)
+.if defined(NOSTRIP)
+STRIP= echo '(skipping) strip'
+.else
+STRIP= cp $@ $@.sym; strip
+.endif
+.else
+STRIP= strip
+.endif
.if exists(./@/.)
S= ./@
@@ -65,7 +74,7 @@ SYSTEM_DEP=Makefile symbols.sort ${SYSTEM_OBJS} libkern.a
SYSTEM_LD_HEAD= @echo loading $@; rm -f $@
SYSTEM_LD= @${LD} -Bstatic -Z -T ${LOAD_ADDRESS} -o $@ -X ${SYSTEM_OBJS} vers.o libkern.a
SYSTEM_LD_TAIL= @echo rearranging symbols; symorder symbols.sort $@; \
- ${DBSYM} -fT ${LOAD_ADDRESS} $@; size $@; chmod 755 $@
+ ${DBSYM} -fT ${LOAD_ADDRESS} $@; ${STRIP} -x $@; size $@; chmod 755 $@
# (XXX) ok, this is weird. but we've got a working ed, and a broken ex, and
# the script is identical for either... -- cgd
diff --git a/sys/i386/conf/Makefile.i386 b/sys/i386/conf/Makefile.i386
index 232793437dae..097d6884c00a 100644
--- a/sys/i386/conf/Makefile.i386
+++ b/sys/i386/conf/Makefile.i386
@@ -1,6 +1,6 @@
# Copyright 1990 W. Jolitz
# from: @(#)Makefile.i386 7.1 5/10/91
-# $Id: Makefile.i386,v 1.37 1994/09/16 10:23:46 jkh Exp $
+# $Id: Makefile.i386,v 1.38 1994/09/23 07:01:59 phk Exp $
#
# Makefile for FreeBSD
#
@@ -25,6 +25,15 @@ LD= /usr/bin/ld
CC= cc
CPP= cpp
DBSYM= /usr/sbin/dbsym
+.if defined(DEBUG)
+.if defined(NOSTRIP)
+STRIP= echo '(skipping) strip'
+.else
+STRIP= cp $@ $@.sym; strip
+.endif
+.else
+STRIP= strip
+.endif
.if exists(./@/.)
S= ./@
@@ -65,7 +74,7 @@ SYSTEM_DEP=Makefile symbols.sort ${SYSTEM_OBJS} libkern.a
SYSTEM_LD_HEAD= @echo loading $@; rm -f $@
SYSTEM_LD= @${LD} -Bstatic -Z -T ${LOAD_ADDRESS} -o $@ -X ${SYSTEM_OBJS} vers.o libkern.a
SYSTEM_LD_TAIL= @echo rearranging symbols; symorder symbols.sort $@; \
- ${DBSYM} -fT ${LOAD_ADDRESS} $@; size $@; chmod 755 $@
+ ${DBSYM} -fT ${LOAD_ADDRESS} $@; ${STRIP} -x $@; size $@; chmod 755 $@
# (XXX) ok, this is weird. but we've got a working ed, and a broken ex, and
# the script is identical for either... -- cgd