summaryrefslogtreecommitdiff
path: root/modules/thekla_unwrap/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/thekla_unwrap/config.py')
-rw-r--r--modules/thekla_unwrap/config.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/modules/thekla_unwrap/config.py b/modules/thekla_unwrap/config.py
index b1ce7d4b91..bd092bdc16 100644
--- a/modules/thekla_unwrap/config.py
+++ b/modules/thekla_unwrap/config.py
@@ -1,7 +1,5 @@
-def can_build(platform):
- return platform != "android" and platform != "ios"
+def can_build(env, platform):
+ return (env['tools'] and platform not in ["android", "ios"])
def configure(env):
- if not env['tools']:
- env['builtin_thekla_atlas'] = False
- env.disabled_modules.append("thekla_unwrap")
+ pass