summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-09-02 14:29:09 +0000
committerbde <bde@FreeBSD.org>1998-09-02 14:29:09 +0000
commit83594b3e3ad15071ea891a01e18902bd8d3e260f (patch)
treea5106bb20729e59d429dafde3f668df6c7899079 /share
parentc6af9e903c5ced1f3e58d4337ac39e8678f90499 (diff)
downloadFreeBSD-src-83594b3e3ad15071ea891a01e18902bd8d3e260f.zip
FreeBSD-src-83594b3e3ad15071ea891a01e18902bd8d3e260f.tar.gz
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.
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.kmod.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/share/mk/bsd.kmod.mk b/share/mk/bsd.kmod.mk
index 229923b..febbec5 100644
--- a/share/mk/bsd.kmod.mk
+++ b/share/mk/bsd.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
OpenPOWER on IntegriCloud