We don't need to do "install" of lib/csu specially. Just install it with

the rest of lib.

(None of lib/* needs csu installed in order to link.  In the USETOOLS!=yes
case, csu may even depend on a newer libc, so installing csu before
compiling host tools in lib/ could break things even worse.)
This commit is contained in:
tv 2002-04-11 19:08:13 +00:00
parent 73b187a06a
commit d536f9a644

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.166 2002/03/11 07:49:24 simonb Exp $ # $NetBSD: Makefile,v 1.167 2002/04/11 19:08:13 tv Exp $
# This is the top-level makefile for building NetBSD. For an outline of # This is the top-level makefile for building NetBSD. For an outline of
# how to build a snapshot or release, as well as other release engineering # how to build a snapshot or release, as well as other release engineering
@ -49,7 +49,6 @@
# do-tools: builds host toolchain. # do-tools: builds host toolchain.
# do-distrib-dirs: creates the distribution directories. # do-distrib-dirs: creates the distribution directories.
# includes: installs include files. # includes: installs include files.
# do-lib-csu: builds and installs prerequisites from lib/csu.
# do-lib: builds and installs prerequisites from lib. # do-lib: builds and installs prerequisites from lib.
# do-gnu-lib: builds and installs prerequisites from gnu/lib. # do-gnu-lib: builds and installs prerequisites from gnu/lib.
# do-build: builds and installs the entire system. # do-build: builds and installs the entire system.
@ -131,7 +130,7 @@ BUILDTARGETS+= do-distrib-dirs
.if !defined(NOINCLUDES) .if !defined(NOINCLUDES)
BUILDTARGETS+= includes BUILDTARGETS+= includes
.endif .endif
BUILDTARGETS+= do-lib-csu do-lib do-gnu-lib do-build BUILDTARGETS+= do-lib do-gnu-lib do-build
# Enforce proper ordering of some rules. # Enforce proper ordering of some rules.
@ -179,7 +178,7 @@ do-distrib-dirs:
(cd ${.CURDIR}/etc && ${MAKE} DESTDIR=${DESTDIR} distrib-dirs) (cd ${.CURDIR}/etc && ${MAKE} DESTDIR=${DESTDIR} distrib-dirs)
.endif .endif
.for dir in tools lib/csu lib gnu/lib .for dir in tools lib gnu/lib
do-${dir:S/\//-/}: do-${dir:S/\//-/}:
.for targ in dependall install .for targ in dependall install
(cd ${.CURDIR}/${dir} && ${MAKE} ${_J} ${targ}) (cd ${.CURDIR}/${dir} && ${MAKE} ${_J} ${targ})