From 1a34d8be07f15d9712e2f8a556b0ca346a367b8b Mon Sep 17 00:00:00 2001 From: lukem Date: Thu, 22 May 2008 14:13:58 +0000 Subject: [PATCH] Descend into external. Add 'do-external-lib' target to build external/lib "early" --- Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 3b46ec5a1066..7c05ca5af4a2 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.252 2008/03/18 04:24:38 lukem Exp $ +# $NetBSD: Makefile,v 1.253 2008/05/22 14:13:58 lukem Exp $ # # This is the top-level makefile for building NetBSD. For an outline of @@ -87,6 +87,7 @@ # do-lib-libc: builds and installs prerequisites from lib/libc. # do-lib: builds and installs prerequisites from lib. # do-gnu-lib: builds and installs prerequisites from gnu/lib. +# do-external-lib: builds and installs prerequisites from external/lib. # do-ld.so: builds and installs prerequisites from libexec/ld.*_so. # do-build: builds and installs the entire system. # do-x11: builds and installs X11R6 from src/x11 if ${MKX11} != "no" @@ -122,7 +123,7 @@ _SRC_TOP_OBJ_= .endfor .endif -_SUBDIR= tools lib include gnu bin games libexec sbin usr.bin +_SUBDIR= tools lib include gnu external bin games libexec sbin usr.bin _SUBDIR+= usr.sbin share rescue sys etc tests .WAIT distrib regress # @@ -205,7 +206,7 @@ BUILDTARGETS+= do-lib-csu BUILDTARGETS+= do-libgcc .endif BUILDTARGETS+= do-lib-libc -BUILDTARGETS+= do-lib do-gnu-lib +BUILDTARGETS+= do-lib do-gnu-lib do-external-lib BUILDTARGETS+= do-ld.so BUILDTARGETS+= do-build .if ${MKX11} != "no" @@ -355,7 +356,7 @@ do-${targ}: .PHONY ${targ} @true .endfor -.for dir in tools tools/compat lib/csu gnu/lib/crtstuff${LIBGCC_EXT} gnu/lib/libgcc${LIBGCC_EXT} lib/libc lib/libdes lib gnu/lib +.for dir in tools tools/compat lib/csu gnu/lib/crtstuff${LIBGCC_EXT} gnu/lib/libgcc${LIBGCC_EXT} lib/libc lib/libdes lib gnu/lib external/lib do-${dir:S/\//-/g}: .PHONY .MAKE .for targ in dependall install ${MAKEDIRTARGET} ${dir} ${targ}