1
0

Exclude host kernel generation for macOS

This commit is contained in:
2019-08-31 07:50:29 +00:00
parent dc73413114
commit 3e7c564a5a
4 changed files with 101 additions and 61 deletions

18
kernel_macos.go Normal file
View File

@@ -0,0 +1,18 @@
// Copyright 2018 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.
// +build darwin
package main
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
}