summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <dfriesel@uos.de>2022-05-10 09:25:01 +0000
committerDaniel Friesel <dfriesel@uos.de>2022-05-10 09:25:01 +0000
commitcbb34a7ce6f5999fd95ff55672b2ae35aade74de (patch)
tree919f2a1daa593e8c178cea56b603a58db25af1bb /lib
parent4e2fae9399b4c770d2b18775e1b89248966948b9 (diff)
CI: Automatically export x264 CART/RMT models
Diffstat (limited to 'lib')
-rw-r--r--lib/loader/kconfig.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/loader/kconfig.py b/lib/loader/kconfig.py
index 2c274cf..80bdd21 100644
--- a/lib/loader/kconfig.py
+++ b/lib/loader/kconfig.py
@@ -24,6 +24,9 @@ class KConfigAttributes:
self.kconfig_root = "/".join(kconfig_path.split("/")[:-1])
kconfig_file = kconfig_path.split("/")[-1]
+ if self.kconfig_root == "":
+ self.kconfig_root = "."
+
with cd(self.kconfig_root):
kconf = kconfiglib.Kconfig(kconfig_file)
self.kconf = kconf