aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/build/openbsd.go
diff options
context:
space:
mode:
authorFlorent Revest <revest@chromium.org>2024-10-02 16:02:12 +0200
committerAleksandr Nogikh <nogikh@google.com>2024-10-14 19:43:42 +0000
commit484e362fcff09b8b74162eefd0c3bfd67e829d94 (patch)
tree7db4c1f87a6c37073084a6b806978495297f6d25 /pkg/build/openbsd.go
parent2e5c6a5c1c62461b69c6f50a123885b9910fce04 (diff)
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.
Diffstat (limited to 'pkg/build/openbsd.go')
-rw-r--r--pkg/build/openbsd.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/build/openbsd.go b/pkg/build/openbsd.go
index bcc16dc8c..fb94b8a60 100644
--- a/pkg/build/openbsd.go
+++ b/pkg/build/openbsd.go
@@ -54,7 +54,7 @@ func (ctx openbsd) build(params Params) (ImageDetails, error) {
return ImageDetails{}, nil
}
-func (ctx openbsd) clean(kernelDir, targetArch string) error {
+func (ctx openbsd) clean(params Params) error {
// Building clean is fast enough and incremental builds in face of
// changing config files don't work. Instead of optimizing for the
// case where humans have to think, let's bludgeon it with a