1
0

refactor: move kernel functions to submodule

This commit is contained in:
2023-05-13 10:47:47 +00:00
parent 95695a4070
commit b1b7a9e675
7 changed files with 710 additions and 777 deletions

19
kernel/kernel_macos.go Normal file
View File

@@ -0,0 +1,19 @@
// Copyright 2023 Mikhail Klementev. All rights reserved.
// Use of this source code is governed by a AGPLv3 license
// (or later) that can be found in the LICENSE file.
//go:build darwin
// +build darwin
package kernel
import (
"errors"
"code.dumpstack.io/tools/out-of-tree/config"
)
func genHostKernels(download bool) (kcfg config.KernelConfig, err error) {
err = errors.New("generate host kernels for macOS is not supported")
return
}