diff options
author | Bruce Evans <bde@FreeBSD.org> | 1998-09-02 14:29:09 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 1998-09-02 14:29:09 +0000 |
commit | 1d0de5e5577f4ac28a8bb16345e61384ac0e0dcb (patch) | |
tree | 83632bed5e4b8dd3479a3a72a308c019a7658b1b /sys/conf | |
parent | 58325806f4ebf17088c918fda04b48f0dbf078fa (diff) | |
download | src-1d0de5e5577f4ac28a8bb16345e61384ac0e0dcb.tar.gz src-1d0de5e5577f4ac28a8bb16345e61384ac0e0dcb.zip |
Add -aout to CFLAGS and LDFLAGS in bsd.kmod.mk, not in
src/lkm/Makefile.inc. This fixes broken builds of the syscons LKMs
when OBJFORMAT=elf. Removed src/lkm/Makefile.inc since it became
empty and is worse than useless.
Notes
Notes:
svn path=/head/; revision=38749
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/kmod.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index 229923b49e68..febbec5f8214 100644 --- a/sys/conf/kmod.mk +++ b/sys/conf/kmod.mk @@ -1,5 +1,5 @@ # From: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91 -# $Id: bsd.kmod.mk,v 1.50 1998/07/29 14:19:48 bde Exp $ +# $Id: bsd.kmod.mk,v 1.51 1998/08/08 07:02:07 peter Exp $ # # The include file <bsd.kmod.mk> handles installing Loadable Kernel Modules. # @@ -109,6 +109,10 @@ CFLAGS+= -I${.OBJDIR} -I${.OBJDIR}/@ CFLAGS+= -I${DESTDIR}/usr/include .endif +# XXX temporary until we build ELF kernels. +CFLAGS+= -aout +LDFLAGS+= -aout + .if defined(NOSHARED) && ( ${NOSHARED} != "no" && ${NOSHARED} != "NO" ) LDFLAGS+= -static .endif |