Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jul 1998 11:02:39 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@FreeBSD.ORG, julian@whistle.com
Cc:        cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-sys@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/i386/conf Makefile.i386
Message-ID:  <199807130102.LAA02406@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>Bruce, can you think of a way to make config or the Makefile do:
>
>
>if config -g,
>tehn the default rule becomes:
>
>kernelstrip:	kernel
>	cp kernel kernel.strip
>	strip -d kernel.strip
>
>
>and 'make install' will install the stripped version by default?
>(or maybe it's a silly idea anyhow)

Something like:

.if defined(DEBUG) && ${DEBUG:M-g} != ""
kernel.unstripped: same as now for kernel
kernel: kernel.unstripped
	cp kernel.unstripped kernel
	strip kernel
.else
same as now
.endif

Bruce

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807130102.LAA02406>