summaryrefslogtreecommitdiff
path: root/drivers/etc1
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/etc1')
-rw-r--r--drivers/etc1/SCsub3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/etc1/SCsub b/drivers/etc1/SCsub
index 152dc3f4d0..251c3ffb86 100644
--- a/drivers/etc1/SCsub
+++ b/drivers/etc1/SCsub
@@ -6,7 +6,8 @@ etc_sources = [
"etc1/rg_etc1.cpp"
]
-env.drivers_sources+=etc_sources
+if (env["etc1"] != "no"):
+ env.drivers_sources+=etc_sources
#env.add_source_files(env.drivers_sources, etc_sources)