summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>2002-08-26 04:40:20 +0000
committerlukem <lukem@NetBSD.org>2002-08-26 04:40:20 +0000
commit0cedce33e5cc1dbd2e4fd1ed3ca8d5d2669045cc (patch)
treed6080ea725329816f2a8add609b72d4c423327eb
parent83b3b86fd6d3ffc4fe02793fcab913571ffb870c (diff)
add "do-ld.elf_so" target, which builds & installs libexec/ld.elf_so.
call after do-gnu-lib but before do-build.
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index fbe35491a57..3c8a9770c0d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.183 2002/08/22 02:23:23 lukem Exp $
+# $NetBSD: Makefile,v 1.184 2002/08/26 04:40:20 lukem Exp $
# 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
@@ -50,6 +50,7 @@
# do-lib-csu: builds and installs prerequisites from lib/csu.
# do-lib: builds and installs prerequisites from lib.
# do-gnu-lib: builds and installs prerequisites from gnu/lib.
+# do-ld.elf_so: builds and installs prerequisites from libexec/ld.elf_so
# do-build: builds and installs the entire system.
.if ${.MAKEFLAGS:M${.CURDIR}/share/mk} == ""
@@ -138,7 +139,7 @@ BUILDTARGETS+= do-distrib-dirs
.if !defined(NOINCLUDES)
BUILDTARGETS+= includes
.endif
-BUILDTARGETS+= do-lib-csu do-lib do-gnu-lib do-build
+BUILDTARGETS+= do-lib-csu do-lib do-gnu-lib do-ld.elf_so do-build
# Enforce proper ordering of some rules.
@@ -203,6 +204,11 @@ do-${dir:S/\//-/}:
.endfor
.endfor
+do-ld.elf_so:
+.for targ in dependall install
+ (cd ${.CURDIR}/libexec/ld.elf_so && ${MAKE} ${targ})
+.endfor
+
do-build:
.for targ in dependall install
(cd ${.CURDIR} && ${MAKE} ${targ} BUILD_tools=no BUILD_lib=no)