From owner-cvs-all Sat Oct 10 07:31:31 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA11668 for cvs-all-outgoing; Sat, 10 Oct 1998 07:31:31 -0700 (PDT) (envelope-from owner-cvs-all) Received: from ceia.nordier.com (m1-38-dbn.dial-up.net [196.34.155.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA11656 for ; Sat, 10 Oct 1998 07:31:20 -0700 (PDT) (envelope-from rnordier@nordier.com) Received: (from rnordier@localhost) by ceia.nordier.com (8.8.7/8.6.12) id QAA15347; Sat, 10 Oct 1998 16:29:54 +0200 (SAT) From: Robert Nordier Message-Id: <199810101429.QAA15347@ceia.nordier.com> Subject: Re: cvs commit: src/sys/boot/i386 Makefile In-Reply-To: <199810101130.VAA27035@godzilla.zeta.org.au> from Bruce Evans at "Oct 10, 98 09:30:30 pm" To: bde@zeta.org.au (Bruce Evans) Date: Sat, 10 Oct 1998 16:29:52 +0200 (SAT) Cc: committers@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk [CC list trimmed] Bruce Evans wrote: > LKMs just use an -aout override in CFLAGS. This has problems for > libraries (see other mail), but LKMs don't use libraries (module some > bugs with utilities used to build LKMs). Your boot stuff (btx) doesn't > use libraries either, so a simple override should work for it. The .s.o suffix rules in bsd.lib.mk are deliberately stripping all but the [-BID] options out of CFLAGS. This is causing problems for the BTX-specific startup code in /sys/boot/i386/btx/lib. (The -elf override is never seen.) Any thoughts on whether this is a correctable lib.mk problem, or just something BTX should find another way around? -- Robert Nordier