diff options
| author | Florent Revest <revest@chromium.org> | 2024-10-02 15:25:51 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2024-10-14 19:43:42 +0000 |
| commit | 2e5c6a5c1c62461b69c6f50a123885b9910fce04 (patch) | |
| tree | f2f92dc597a90cecf52bf5435a88959632f7fd77 /tools/syz-bisect | |
| parent | 56381a3b0c5178a73a7ad714a54dab5ab47e0ffa (diff) | |
pkg/build/linux: support building with a custom make binary
Certain environments might need a specific make command or wrap make
calls with extra logic. This lets users provide a path to a custom make
binary.
Diffstat (limited to 'tools/syz-bisect')
| -rw-r--r-- | tools/syz-bisect/bisect.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/syz-bisect/bisect.go b/tools/syz-bisect/bisect.go index b74cf6fd8..6b0ab07e3 100644 --- a/tools/syz-bisect/bisect.go +++ b/tools/syz-bisect/bisect.go @@ -47,6 +47,7 @@ type Config struct { // Currently either 'gcc' or 'clang'. Note that pkg/bisect requires // explicit plumbing for every os/compiler combination. CompilerType string `json:"compiler_type"` + Make string `json:"make"` // BinDir must point to a dir that contains compilers required to build // older versions of the kernel. For linux, it needs to include several // compiler versions. @@ -103,6 +104,7 @@ func main() { Fix: *flagFix, DefaultCompiler: mycfg.Compiler, CompilerType: mycfg.CompilerType, + Make: mycfg.Make, Linker: mycfg.Linker, BinDir: mycfg.BinDir, Ccache: mycfg.Ccache, |
