mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-20 23:54:38 +01:00
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:
parent
7dcf95bf27
commit
41da032357
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=42128
6
Makefile
6
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:
|
# The user-driven targets are:
|
||||||
#
|
#
|
||||||
@ -52,8 +52,8 @@
|
|||||||
# this overrides /etc/objformat.
|
# this overrides /etc/objformat.
|
||||||
#
|
#
|
||||||
# Unless -DNOAOUT is specified, a `make world' with OBJFORMAT=elf will
|
# Unless -DNOAOUT is specified, a `make world' with OBJFORMAT=elf will
|
||||||
# update the legacy support for aout. This includes all libraries, ld.so,
|
# update the legacy support for aout. This includes all libraries, ld.so
|
||||||
# lkms and boot objects. This part of build should be regarded as
|
# 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
|
# 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
|
# release of 3.1. You have exactly one major release to move entirely
|
||||||
# to elf.
|
# to elf.
|
||||||
|
@ -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:
|
# Make command line options:
|
||||||
# -DCLOBBER will remove /usr/include
|
# -DCLOBBER will remove /usr/include
|
||||||
@ -8,7 +8,6 @@
|
|||||||
# -DNOCLEAN do not clean at all
|
# -DNOCLEAN do not clean at all
|
||||||
# -DNOTOOLS do not rebuild any tools first
|
# -DNOTOOLS do not rebuild any tools first
|
||||||
# -DNOCRYPT will prevent building of crypt versions
|
# -DNOCRYPT will prevent building of crypt versions
|
||||||
# -DNOLKM do not build loadable kernel modules
|
|
||||||
# -DNOPROFILE do not build profiled libraries
|
# -DNOPROFILE do not build profiled libraries
|
||||||
# -DNOSECURE do not go into secure subdir
|
# -DNOSECURE do not go into secure subdir
|
||||||
# -DNOGAMES do not go into games subdir
|
# -DNOGAMES do not go into games subdir
|
||||||
@ -82,9 +81,6 @@ SUBDIR+= usr.sbin
|
|||||||
.if exists(secure) && !defined(NOCRYPT) && !defined(NOSECURE)
|
.if exists(secure) && !defined(NOCRYPT) && !defined(NOSECURE)
|
||||||
SUBDIR+= secure
|
SUBDIR+= secure
|
||||||
.endif
|
.endif
|
||||||
.if exists(lkm) && !defined(NOLKM) && ${OBJFORMAT} == "aout"
|
|
||||||
SUBDIR+= lkm
|
|
||||||
.endif
|
|
||||||
|
|
||||||
# etc must be last for "distribute" to work
|
# etc must be last for "distribute" to work
|
||||||
.if exists(etc)
|
.if exists(etc)
|
||||||
@ -744,9 +740,6 @@ _perl= gnu/usr.bin/perl/miniperl
|
|||||||
.if !defined(NOSHARE) && exists(${.CURDIR}/share)
|
.if !defined(NOSHARE) && exists(${.CURDIR}/share)
|
||||||
_scrnmaps= share/syscons/scrnmaps
|
_scrnmaps= share/syscons/scrnmaps
|
||||||
.endif
|
.endif
|
||||||
.if !defined(NOLKM) && exists(${.CURDIR}/lkm) && ${OBJFORMAT} == "aout"
|
|
||||||
_linux= lkm/linux
|
|
||||||
.endif
|
|
||||||
.if ${MACHINE_ARCH} == i386
|
.if ${MACHINE_ARCH} == i386
|
||||||
_kldlinux= sys/modules/linux
|
_kldlinux= sys/modules/linux
|
||||||
.endif
|
.endif
|
||||||
@ -892,14 +885,6 @@ legacy-build:
|
|||||||
cd ${.CURDIR}/libexec/rtld-aout; \
|
cd ${.CURDIR}/libexec/rtld-aout; \
|
||||||
${XMAKE} -DNOMAN depend; ${XMAKE} -DNOMAN all;
|
${XMAKE} -DNOMAN depend; ${XMAKE} -DNOMAN all;
|
||||||
@echo
|
@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 "--------------------------------------------------------------"
|
||||||
@echo ">>> Building legacy boot"
|
@echo ">>> Building legacy boot"
|
||||||
@echo "--------------------------------------------------------------"
|
@echo "--------------------------------------------------------------"
|
||||||
@ -936,13 +921,6 @@ legacy-install:
|
|||||||
@echo "--------------------------------------------------------------"
|
@echo "--------------------------------------------------------------"
|
||||||
cd ${.CURDIR}/libexec/rtld-aout; ${MAKE} -DNOMAN install
|
cd ${.CURDIR}/libexec/rtld-aout; ${MAKE} -DNOMAN install
|
||||||
@echo
|
@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"
|
.if ${MACHINE_ARCH} != "alpha"
|
||||||
@echo "--------------------------------------------------------------"
|
@echo "--------------------------------------------------------------"
|
||||||
@echo ">>> Installing legacy boot"
|
@echo ">>> Installing legacy boot"
|
||||||
|
Loading…
Reference in New Issue
Block a user