diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2019-02-23 17:01:44 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-02-23 17:01:44 +0100 |
| commit | 40311807adda4b4c4163ba4824f7a01109ae6986 (patch) | |
| tree | 2a16852b09c27a8ee49a503d64933b2fd032e0c8 /pkg/build/openbsd.go | |
| parent | 0c7ffbeafca81b8feefb2dda3d11a239bc0bc4c7 (diff) | |
pkg/build: netbsd build improvements
1. Implement clean since we do incremental build we actually need no-op clean.
2. Don't copy netbsd to output dir, we don't need it there (we create full-fledged image).
3. Copy netbsd.gdb to obj/ dir, that's where it is expected.
4. Fix boot disk name for gce (it's sd0 instead of wd0).
Diffstat (limited to 'pkg/build/openbsd.go')
| -rw-r--r-- | pkg/build/openbsd.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/build/openbsd.go b/pkg/build/openbsd.go index 9c4b7f119..81f082b8c 100644 --- a/pkg/build/openbsd.go +++ b/pkg/build/openbsd.go @@ -56,7 +56,7 @@ func (ctx openbsd) build(targetArch, vmType, kernelDir, outputDir, compiler, use return nil } -func (ctx openbsd) clean(kernelDir string) error { +func (ctx openbsd) clean(kernelDir, targetArch string) 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 |
