summaryrefslogtreecommitdiff
path: root/usr/src/Makefile
diff options
context:
space:
mode:
authorrie <none@none>2007-06-12 11:39:43 -0700
committerrie <none@none>2007-06-12 11:39:43 -0700
commit232c6638392635867c3dd33778e0658936cf0815 (patch)
tree4d58fe03ba06a2e76fe38f849bfae5b67b8a4123 /usr/src/Makefile
parente071b5fba24bf7b3147969da51eb5d194a13dcaa (diff)
downloadillumos-gate-232c6638392635867c3dd33778e0658936cf0815.tar.gz
6567995 6455532 broke "make setup" within a new "bldenv -t" environment.
Diffstat (limited to 'usr/src/Makefile')
-rw-r--r--usr/src/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/usr/src/Makefile b/usr/src/Makefile
index 8648e5d532..939309b811 100644
--- a/usr/src/Makefile
+++ b/usr/src/Makefile
@@ -88,7 +88,7 @@ install: mapfiles closedbins sgs .WAIT $(SUBDIRS) pkg_all .WAIT _msg
@cd pkgdefs/SUNW0on; pwd; $(MAKE) _msg
@rm -rf "$(ROOT)/catalog"
-mapfiles:
+mapfiles: bldtools
@cd common/mapfiles; pwd; $(MAKE) install
clean clobber: $(SUBDIRS) head pkgdefs
@@ -145,12 +145,16 @@ sgs: rootdirs .WAIT sysheaders userheaders .WAIT \
libheaders ucbheaders cmdheaders
#
-# top-level setup target to setup the development environment
-# this includes headers and tools. for open-only builds (i.e.:
-# source trees w/o usr/closed), this also depends on the closedbins
-# target (above) in order to properly seed the proto area
+# Top-level setup target to setup the development environment that includes
+# headers, tools and generated mapfiles. For open-only builds (i.e.: source
+# trees w/o usr/closed), this also depends on the closedbins target (above)
+# in order to properly seed the proto area. Note, although the tools are
+# dependent on a number of constant mapfiles, the tools themselves are
+# required to build the generated mapfiles.
#
-setup: mapfiles closedbins sgs
+setup: bldtools mapfiles
+
+bldtools: closedbins sgs
@cd tools; pwd; $(MAKE) install
# /var/mail/:saved is a special case because of the colon in the name.