mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -04:00
dev-embedded/esp-idf: add compatibility with latest esp-idf-kconfig rev
Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
22
dev-embedded/esp-idf/files/esp-idf-espkconfiglib.patch
Normal file
22
dev-embedded/esp-idf/files/esp-idf-espkconfiglib.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
diff --git i/tools/ldgen/ldgen/sdkconfig.py w/tools/ldgen/ldgen/sdkconfig.py
|
||||
index 7899ae5f91..a9994d6b8d 100644
|
||||
--- i/tools/ldgen/ldgen/sdkconfig.py
|
||||
+++ w/tools/ldgen/ldgen/sdkconfig.py
|
||||
@@ -3,7 +3,7 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
-import kconfiglib
|
||||
+import espkconfiglib
|
||||
|
||||
|
||||
class SDKConfig:
|
||||
@@ -11,7 +11,7 @@ class SDKConfig:
|
||||
Evaluates conditional expressions based on the build's sdkconfig and Kconfig files.
|
||||
"""
|
||||
def __init__(self, kconfig_file, sdkconfig_file):
|
||||
- self.config = kconfiglib.Kconfig(kconfig_file)
|
||||
+ self.config = espkconfiglib.Kconfig(kconfig_file)
|
||||
self.config.load_config(sdkconfig_file)
|
||||
self.config.warn = False # eval_string may contain un-declared symbol
|
||||
|
||||
Reference in New Issue
Block a user