From efb5cc9fac4229f3675152c1881072b007cf25a1 Mon Sep 17 00:00:00 2001 From: bde Date: Sun, 26 Dec 1999 17:07:15 +0000 Subject: Fixed stripping of aout debugging kernels. Fixed some style bugs (always use precisely 1 space after `:' in dependency specifications). Removed bogus dependency of ${FULLKERNEL} on ${BEFORE_DEPEND}. --- sys/conf/Makefile.i386 | 8 ++++---- sys/conf/Makefile.powerpc | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'sys/conf') diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386 index 4086ac7..e683d32 100644 --- a/sys/conf/Makefile.i386 +++ b/sys/conf/Makefile.i386 @@ -120,22 +120,22 @@ SYSTEM_DEP+= $S/i386/conf/kernel.script %CLEAN -all: ${KERNEL} +all: ${KERNEL} .if !defined(DEBUG) FULLKERNEL= ${KERNEL} .else FULLKERNEL= ${KERNEL}.debug -${KERNEL}: ${FULLKERNEL} +${KERNEL}: ${FULLKERNEL} .if ${KERNFORMAT} == "elf" objcopy --strip-debug ${FULLKERNEL} ${KERNEL} .else cp ${FULLKERNEL} ${KERNEL} - strip -d ${KERNEL} + strip -aout -d ${KERNEL} .endif .endif -${FULLKERNEL}: ${BEFORE_DEPEND} ${SYSTEM_DEP} vers.o +${FULLKERNEL}: ${SYSTEM_DEP} vers.o @rm -f ${.TARGET} @echo linking ${.TARGET} ${SYSTEM_LD} diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc index 4086ac7..e683d32 100644 --- a/sys/conf/Makefile.powerpc +++ b/sys/conf/Makefile.powerpc @@ -120,22 +120,22 @@ SYSTEM_DEP+= $S/i386/conf/kernel.script %CLEAN -all: ${KERNEL} +all: ${KERNEL} .if !defined(DEBUG) FULLKERNEL= ${KERNEL} .else FULLKERNEL= ${KERNEL}.debug -${KERNEL}: ${FULLKERNEL} +${KERNEL}: ${FULLKERNEL} .if ${KERNFORMAT} == "elf" objcopy --strip-debug ${FULLKERNEL} ${KERNEL} .else cp ${FULLKERNEL} ${KERNEL} - strip -d ${KERNEL} + strip -aout -d ${KERNEL} .endif .endif -${FULLKERNEL}: ${BEFORE_DEPEND} ${SYSTEM_DEP} vers.o +${FULLKERNEL}: ${SYSTEM_DEP} vers.o @rm -f ${.TARGET} @echo linking ${.TARGET} ${SYSTEM_LD} -- cgit v1.1