From 217b5628e06f874bff36e03ef71589e1ecb09285 Mon Sep 17 00:00:00 2001 From: insleker Date: Sat, 23 May 2026 00:40:07 +0800 Subject: [PATCH] chore: `linux-kbuild-tree` prevent upload binary --- recipes/linux-kbuild-tree/all/conanfile.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/recipes/linux-kbuild-tree/all/conanfile.py b/recipes/linux-kbuild-tree/all/conanfile.py index bfde83a..708962f 100644 --- a/recipes/linux-kbuild-tree/all/conanfile.py +++ b/recipes/linux-kbuild-tree/all/conanfile.py @@ -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.