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 /pkg/instance | |
| 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 'pkg/instance')
| -rw-r--r-- | pkg/instance/instance.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/instance/instance.go b/pkg/instance/instance.go index e4415a86e..e1e222a3f 100644 --- a/pkg/instance/instance.go +++ b/pkg/instance/instance.go @@ -42,6 +42,7 @@ type env struct { } type BuildKernelConfig struct { + MakeBin string CompilerBin string LinkerBin string CcacheBin string @@ -147,6 +148,7 @@ func (env *env) BuildKernel(buildCfg *BuildKernelConfig) ( VMType: env.cfg.Type, KernelDir: env.cfg.KernelSrc, OutputDir: imageDir, + Make: buildCfg.MakeBin, Compiler: buildCfg.CompilerBin, Linker: buildCfg.LinkerBin, Ccache: buildCfg.CcacheBin, |
