From owner-freebsd-bugs Thu May 11 6:10: 7 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 556BE37BB6F for ; Thu, 11 May 2000 06:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id GAA00559; Thu, 11 May 2000 06:10:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from happy.checkpoint.com (happy.checkpoint.com [199.203.156.41]) by hub.freebsd.org (Postfix) with ESMTP id 6A33D37B8F9 for ; Thu, 11 May 2000 06:04:15 -0700 (PDT) (envelope-from mellon@happy.checkpoint.com) Received: (from mellon@localhost) by happy.checkpoint.com (8.9.3/8.9.3) id QAA01569; Thu, 11 May 2000 16:04:57 GMT (envelope-from mellon) Message-Id: <200005111604.QAA01569@happy.checkpoint.com> Date: Thu, 11 May 2000 16:04:57 GMT From: mellon@pobox.com Reply-To: mellon@pobox.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/18498: allowing ELF_VERBOSE in /etc/make.conf Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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