Dip my toes into the fire and zap the leftover lkm hooks.. It seems they

try and recurse if the lkm dir exists for some reason but there isn't any
Makefile there. (eg: stray files prevented cvs update -P from removing the
empty dirs)
This commit is contained in:
Peter Wemm 1998-12-28 17:03:50 +00:00
parent 7dcf95bf27
commit 41da032357
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=42128
2 changed files with 4 additions and 26 deletions

View File

@ -1,5 +1,5 @@
#
# $Id: Makefile,v 1.220 1998/09/29 22:03:12 jkh Exp $
# $Id: Makefile,v 1.221 1998/10/17 15:25:26 bde Exp $
#
# The user-driven targets are:
#
@ -52,8 +52,8 @@
# this overrides /etc/objformat.
#
# Unless -DNOAOUT is specified, a `make world' with OBJFORMAT=elf will
# update the legacy support for aout. This includes all libraries, ld.so,
# lkms and boot objects. This part of build should be regarded as
# update the legacy support for aout. This includes all libraries, ld.so
# and boot objects. This part of build should be regarded as
# deprecated and you should _not_ expect to be able to do this past the
# release of 3.1. You have exactly one major release to move entirely
# to elf.

View File

@ -1,5 +1,5 @@
#
# $Id: Makefile.inc1,v 1.49 1998/12/21 09:41:26 dillon Exp $
# $Id: Makefile.inc1,v 1.50 1998/12/27 21:11:07 phk Exp $
#
# Make command line options:
# -DCLOBBER will remove /usr/include
@ -8,7 +8,6 @@
# -DNOCLEAN do not clean at all
# -DNOTOOLS do not rebuild any tools first
# -DNOCRYPT will prevent building of crypt versions
# -DNOLKM do not build loadable kernel modules
# -DNOPROFILE do not build profiled libraries
# -DNOSECURE do not go into secure subdir
# -DNOGAMES do not go into games subdir
@ -82,9 +81,6 @@ SUBDIR+= usr.sbin
.if exists(secure) && !defined(NOCRYPT) && !defined(NOSECURE)
SUBDIR+= secure
.endif
.if exists(lkm) && !defined(NOLKM) && ${OBJFORMAT} == "aout"
SUBDIR+= lkm
.endif
# etc must be last for "distribute" to work
.if exists(etc)
@ -744,9 +740,6 @@ _perl= gnu/usr.bin/perl/miniperl
.if !defined(NOSHARE) && exists(${.CURDIR}/share)
_scrnmaps= share/syscons/scrnmaps
.endif
.if !defined(NOLKM) && exists(${.CURDIR}/lkm) && ${OBJFORMAT} == "aout"
_linux= lkm/linux
.endif
.if ${MACHINE_ARCH} == i386
_kldlinux= sys/modules/linux
.endif
@ -892,14 +885,6 @@ legacy-build:
cd ${.CURDIR}/libexec/rtld-aout; \
${XMAKE} -DNOMAN depend; ${XMAKE} -DNOMAN all;
@echo
.if exists(${.CURDIR}/lkm) && !defined(NOLKM)
@echo "--------------------------------------------------------------"
@echo ">>> Building legacy lkms"
@echo "--------------------------------------------------------------"
cd ${.CURDIR}/lkm; \
${XMAKE} -DNOMAN depend; ${XMAKE} -DNOMAN all;
@echo
.endif
@echo "--------------------------------------------------------------"
@echo ">>> Building legacy boot"
@echo "--------------------------------------------------------------"
@ -936,13 +921,6 @@ legacy-install:
@echo "--------------------------------------------------------------"
cd ${.CURDIR}/libexec/rtld-aout; ${MAKE} -DNOMAN install
@echo
.if exists(${.CURDIR}/lkm) && !defined(NOLKM)
@echo "--------------------------------------------------------------"
@echo ">>> Installing legacy lkms"
@echo "--------------------------------------------------------------"
cd ${.CURDIR}/lkm; ${MAKE} -DNOMAN install
@echo
.endif
.if ${MACHINE_ARCH} != "alpha"
@echo "--------------------------------------------------------------"
@echo ">>> Installing legacy boot"