summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorV.VamsiKrishna <vk@bsb.in>2015-03-20 11:06:28 +0530
committerV.VamsiKrishna <vk@bsb.in>2015-03-20 11:06:28 +0530
commitd3280f91a13da6c106f95c289c095714c638d201 (patch)
tree01a636b5246d71d0c731eb5fb7833cd127531beb /drivers
parent41b729ccff74e5a9154bee7db0d36ffd74641eae (diff)
Missed some things in prev commit.
Diffstat (limited to 'drivers')
-rw-r--r--drivers/etc1/SCsub3
-rw-r--r--drivers/register_driver_types.cpp3
2 files changed, 5 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)
diff --git a/drivers/register_driver_types.cpp b/drivers/register_driver_types.cpp
index e4bb1a343a..e730171fbb 100644
--- a/drivers/register_driver_types.cpp
+++ b/drivers/register_driver_types.cpp
@@ -222,7 +222,10 @@ void register_driver_types() {
#endif
#endif
+#ifdef ETC1_ENABLED
_register_etc1_compress_func();
+#endif
+
initialize_chibi();
}