chore: `linux-kbuild-tree` prevent upload binary
This commit is contained in:
parent
94811349b0
commit
217b5628e0
|
|
@ -11,7 +11,9 @@ from conan.tools.files import copy, get, save
|
|||
|
||||
class LinuxKbuildTreeConan(ConanFile):
|
||||
name = "linux-kbuild-tree"
|
||||
package_type = "application"
|
||||
package_type = "unknown"
|
||||
upload_policy = "skip"
|
||||
build_policy = "missing"
|
||||
|
||||
settings = "os", "arch", "compiler", "build_type"
|
||||
|
||||
|
|
@ -127,6 +129,11 @@ class LinuxKbuildTreeConan(ConanFile):
|
|||
keep_path=False,
|
||||
)
|
||||
|
||||
def package_info(self):
|
||||
self.cpp_info.includedirs = []
|
||||
self.cpp_info.libdirs = []
|
||||
self.cpp_info.bindirs = []
|
||||
|
||||
def _linux_ref_from_version(self):
|
||||
# Upstream Linux tags base releases as v6.8, while the kernel release
|
||||
# and Conan package version are commonly represented as 6.8.0.
|
||||
|
|
|
|||
Loading…
Reference in New Issue