From 2e5c6a5c1c62461b69c6f50a123885b9910fce04 Mon Sep 17 00:00:00 2001 From: Florent Revest Date: Wed, 2 Oct 2024 15:25:51 +0200 Subject: 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. --- tools/syz-bisect/bisect.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/syz-bisect') 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, -- cgit mrf-deployment