From bbb921d248befbb1bf3970cc8d680403f255de97 Mon Sep 17 00:00:00 2001 From: Jouni Hogander Date: Tue, 1 Sep 2020 16:13:50 +0300 Subject: pkg/bisect: add ccache option Add option to use ccache in kernel builds. Signed-off-by: Jouni Hogander --- 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 c09d000a0..f50b29095 100644 --- a/tools/syz-bisect/bisect.go +++ b/tools/syz-bisect/bisect.go @@ -46,6 +46,7 @@ type Config struct { // gcc versions. A working archive can be downloaded from: // https://storage.googleapis.com/syzkaller/bisect_bin.tar.gz BinDir string `json:"bin_dir"` + Ccache string `json:"ccache"` KernelRepo string `json:"kernel_repo"` KernelBranch string `json:"kernel_branch"` SyzkallerRepo string `json:"syzkaller_repo"` @@ -86,6 +87,7 @@ func main() { Trace: os.Stdout, Fix: *flagFix, BinDir: mycfg.BinDir, + Ccache: mycfg.Ccache, DebugDir: *flagCrash, Kernel: bisect.KernelConfig{ Repo: mycfg.KernelRepo, -- cgit mrf-deployment