From 41da03235741900f99eebec859be06212c40e854 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Mon, 28 Dec 1998 17:03:50 +0000 Subject: [PATCH] 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) --- Makefile | 6 +++--- Makefile.inc1 | 24 +----------------------- 2 files changed, 4 insertions(+), 26 deletions(-) diff --git a/Makefile b/Makefile index 6dc984269436..a97a0775b7a3 100644 --- a/Makefile +++ b/Makefile @@ -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. diff --git a/Makefile.inc1 b/Makefile.inc1 index 1ad7114c06d9..bb4332b49de2 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -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"