From f49a375e070fef5f24679f5eb960129023b80d24 Mon Sep 17 00:00:00 2001 From: cgd Date: Thu, 29 Apr 1993 03:27:39 +0000 Subject: [PATCH] use ed instead of ex. the script to use is identical, and we might want to switch back to using ex when our ex supports -. --- sys/arch/i386/conf/Makefile.i386 | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/sys/arch/i386/conf/Makefile.i386 b/sys/arch/i386/conf/Makefile.i386 index 13192a886b5c..9b99d7fb6f35 100644 --- a/sys/arch/i386/conf/Makefile.i386 +++ b/sys/arch/i386/conf/Makefile.i386 @@ -1,6 +1,6 @@ # Copyright 1990 W. Jolitz # @(#)Makefile.i386 7.1 5/10/91 -# Makefile for 4.3 BSD-Reno +# Makefile for NetBSD # # This makefile is constructed from a machine description: # config machineid @@ -18,14 +18,6 @@ # -DTRACE compile in kernel tracing hooks # -DQUOTA compile in file system quotas # -# PATCHES MAGIC LEVEL PATCH THAT GOT US HERE -# -------------------- ----- ---------------------- -# CURRENT PATCH LEVEL: 1 00001 -# -------------------- ----- ---------------------- -# -# 29 Jun 92 Chris G. Demetriou Fix vers.o for kernel profiling and -# plain old link -# TOUCH= touch -f -c LD= /usr/bin/ld CC= cc @@ -50,9 +42,12 @@ SYSTEM_LD_HEAD= @echo loading $@; rm -f $@ SYSTEM_LD= @${LD} -z -T FE000000 -o $@ -X vers.o ${SYSTEM_OBJS} SYSTEM_LD_TAIL= @echo rearranging symbols; symorder symbols.sort $@; /usr/sbin/dbsym $@ || true; 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 +# GPROF.EX= /usr/src/lib/csu.i386/gprof.ex PROFILE_C= ${CC} -S -c ${CFLAGS} $< ; \ - ex - $*.s < ${GPROF.EX} ; \ + ed - $*.s < ${GPROF.EX} ; \ ${AS} -o $@ $*.s ; \ rm -f $*.s