Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 May 2000 16:04:57 GMT
From:      mellon@pobox.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/18498: allowing ELF_VERBOSE in /etc/make.conf
Message-ID:  <200005111604.QAA01569@happy.checkpoint.com>

next in thread | raw e-mail | index | archive | help

>Number:         18498
>Category:       bin
>Synopsis:       allowing ELF_VERBOSE in /etc/make.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 11 06:10:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Anatoly Vorobey
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:

5.0-CURRENT

>Description:

For debugging the loader, the following trivial change to
src/sys/boot/common/Makefile.inc will allow placing ELF_VERBOSE=true
in /etc/make.conf instead of having to change the makefile; this
makes life a little bit brighter and is exactly the arrangement
already existing with BTXLDR_VERBOSE in sys/boot/i386/btx/btxldr/Makefile,
for instance.

>How-To-Repeat:



>Fix:

Index: Makefile.inc
===================================================================
RCS file: /freebsd/cvs/src/sys/boot/common/Makefile.inc,v
retrieving revision 1.9
diff -u -r1.9 Makefile.inc
--- Makefile.inc	1999/08/28 00:39:44	1.9
+++ Makefile.inc	2000/05/11 15:53:43
@@ -16,3 +16,9 @@
 .if BOOT_FORTH
 SRCS+=	interp_forth.c
 .endif
+
+.if defined(ELF_VERBOSE)
+CFLAGS+=-DELF_VERBOSE
+.endif
+
+


>Release-Note:
>Audit-Trail:
>Unformatted:


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




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