Skip to content

Commit 52ea3c7

Browse files
committed
Revert back VariantDirWrap for Simba framework (compatibility)
1 parent adade7e commit 52ea3c7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

builder/frameworks/simba.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,14 @@ def LookupSources(env, variant_dir, src_dir, duplicate=True, src_filter=None):
4141
return env.CollectBuildFiles(variant_dir, src_dir, src_filter, duplicate)
4242

4343

44+
def VariantDirWrap(env, variant_dir, src_dir, duplicate=False):
45+
env.VariantDir(variant_dir, src_dir, duplicate)
46+
47+
4448
env = DefaultEnvironment()
4549

4650
env.AddMethod(LookupSources)
51+
env.AddMethod(VariantDirWrap)
4752

4853
env.Replace(
4954
PLATFORMFW_DIR=env.PioPlatform().get_package_dir("framework-simba")

0 commit comments

Comments
 (0)