Skip to content

Commit

Permalink
golang: import from openwrt/packages
Browse files Browse the repository at this point in the history
  • Loading branch information
moetayuko committed Apr 11, 2024
0 parents commit 894dd5c
Show file tree
Hide file tree
Showing 4 changed files with 518 additions and 0 deletions.
33 changes: 33 additions & 0 deletions golang/Config.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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.

config GOLANG_BUILD_CACHE_DIR
string "Go build cache directory"
default ""
help
Store the Go build cache in this directory.
If not set, uses '$(TMP_DIR)/go-build'.

config GOLANG_MOD_CACHE_WORLD_READABLE
bool "Ensure Go module cache is world-readable"
default n

config GOLANG_SPECTRE
bool "Enable Spectre mitigations"
default n
depends on x86_64
help
Currently only available for x86-64 (amd64).

endmenu
Loading

0 comments on commit 894dd5c

Please sign in to comment.