|
|
|
@ -965,7 +965,10 @@ class VariableClBuilderKernelConfig(KernelInfo):
|
|
|
|
|
def get(self):
|
|
|
|
|
prefix = self.Get('cl_builder_path')
|
|
|
|
|
if prefix:
|
|
|
|
|
try:
|
|
|
|
|
kernel_src = self.get_current_kernel_src(prefix)
|
|
|
|
|
except ValueError:
|
|
|
|
|
return ""
|
|
|
|
|
config_path = path.join(kernel_src, ".config")
|
|
|
|
|
return KernelConfig(path.join(prefix, config_path))
|
|
|
|
|
return ""
|
|
|
|
@ -982,7 +985,10 @@ class VariableClBuilderKernelVer(KernelInfo):
|
|
|
|
|
def get(self):
|
|
|
|
|
prefix = self.Get('cl_builder_path')
|
|
|
|
|
if prefix:
|
|
|
|
|
try:
|
|
|
|
|
current_src = self.get_current_kernel_src(prefix)
|
|
|
|
|
except ValueError:
|
|
|
|
|
return ""
|
|
|
|
|
src = path.join(prefix, current_src)
|
|
|
|
|
return self.get_src_kernel_version(src)
|
|
|
|
|
|
|
|
|
|