golang: Move config option into separate file
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
parent
fc7cf379e3
commit
4674564e42
2 changed files with 16 additions and 14 deletions
15
lang/golang/golang/Config.in
Normal file
15
lang/golang/golang/Config.in
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
menu "Configuration"
|
||||||
|
|
||||||
|
config GOLANG_EXTERNAL_BOOTSTRAP_ROOT
|
||||||
|
string "External bootstrap Go root directory"
|
||||||
|
default ""
|
||||||
|
help
|
||||||
|
Path to a working Go tree (>= Go 1.4), with bin, pkg, and src
|
||||||
|
subdirectories and the Go compiler at bin/go.
|
||||||
|
|
||||||
|
If specified, the existing Go installation will be used to
|
||||||
|
compile host (buildroot) Go.
|
||||||
|
|
||||||
|
Leave blank to compile the default bootstrap Go.
|
||||||
|
|
||||||
|
endmenu
|
|
@ -155,20 +155,7 @@ libraries for the Go programming language.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/golang/config
|
define Package/golang/config
|
||||||
menu "Configuration"
|
source "$(SOURCE)/Config.in"
|
||||||
|
|
||||||
config GOLANG_EXTERNAL_BOOTSTRAP_ROOT
|
|
||||||
string "External bootstrap Go root directory"
|
|
||||||
help
|
|
||||||
Path to a working Go tree (>= Go 1.4), with bin, pkg, and src
|
|
||||||
subdirectories and the Go compiler at bin/go.
|
|
||||||
|
|
||||||
If specified, the existing Go installation will be used to
|
|
||||||
compile host (buildroot) Go.
|
|
||||||
|
|
||||||
Leave blank to compile the default bootstrap Go.
|
|
||||||
|
|
||||||
endmenu
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/golang-doc
|
define Package/golang-doc
|
||||||
|
|
Loading…
Reference in a new issue