From 484e362fcff09b8b74162eefd0c3bfd67e829d94 Mon Sep 17 00:00:00 2001 From: Florent Revest Date: Wed, 2 Oct 2024 16:02:12 +0200 Subject: pkg/build: use the build environment in clean() calls This unifies the build() and clean() interfaces such that if a custom compiler or make binary is provided in the manager or bisection config, they can be taken into account by the clean() interface. --- pkg/build/fuchsia.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/build/fuchsia.go') diff --git a/pkg/build/fuchsia.go b/pkg/build/fuchsia.go index 759d6b842..c33bfab12 100644 --- a/pkg/build/fuchsia.go +++ b/pkg/build/fuchsia.go @@ -94,7 +94,7 @@ func (fu fuchsia) build(params Params) (ImageDetails, error) { return ImageDetails{}, nil } -func (fu fuchsia) clean(kernelDir, targetArch string) error { +func (fu fuchsia) clean(params Params) error { // We always do clean build because incremental build is frequently broken. // So no need to clean separately. return nil -- cgit mrf-deployment