]> Cypherpunks repositories - gostls13.git/commit
build: let pkg/Makefile coordinate building of Go commands
authorRuss Cox <rsc@golang.org>
Wed, 25 Aug 2010 21:54:10 +0000 (17:54 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 25 Aug 2010 21:54:10 +0000 (17:54 -0400)
commit15f336b675c358e799abb2053c50caf852ebbe2b
tree7c82269c3d27da4fc0d307e45b11f24fe70064e5
parent5008927c5c1ad78808697967d1ee834ae653b76c
build: let pkg/Makefile coordinate building of Go commands

Commands written in Go depend on Go packages, so they
cannot be built by src/cmd/make.bash.  They have been
built by src/make.bash after all the packages are done, but
we want to be able to use cgo (written in Go) during the build
of package net.  To make this possible, build the commands
from src/pkg/Makefile instead of src/make.bash, so that they
are included in the package dependency analysis.

R=r
CC=golang-dev
https://golang.org/cl/1972046
src/cmd/make.bash
src/make.bash
src/pkg/Makefile
src/pkg/deps.bash