mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
golang: Move config option into separate file
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user