Skip to content

Commit

Permalink
add "do-ld.elf_so" target, which builds & installs libexec/ld.elf_so.
Browse files Browse the repository at this point in the history
call after do-gnu-lib but before do-build.
  • Loading branch information
lukem committed Aug 26, 2002
1 parent 6b2deb6 commit 1d3f1b5
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions 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
Expand Down Expand Up @@ -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} == ""
Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 1d3f1b5

Please sign in to comment.