summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2021-04-01 15:43:30 -0400
committerSolomon Peachy <pizza@shaftnet.org>2021-04-01 15:45:38 -0400
commit9e15c19891282e3740a78cf7d6a74bd0041a55a2 (patch)
tree5a6e218cfd244cdfd334a69ddc9b28d5e3a7ead1
parent2f785c7797d0a40a0c797208cbcc753ddfe9193a (diff)
downloadrockbox-9e15c19891282e3740a78cf7d6a74bd0041a55a2.tar.gz
rockbox-9e15c19891282e3740a78cf7d6a74bd0041a55a2.zip
build: Make it easier to disable plugins
Instead of 'ifdef ENABLEPLUGINS' (which always gets set) use 'ifeq(yes,$(ENABLEPLUGINS))' which means any value other than 'yes' is treated as a negative. Change-Id: I6c92eef5565328f1bb9f64a4d379dec697354224
-rw-r--r--tools/root.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/root.make b/tools/root.make
index 2c6c8474e7..70f81c0165 100644
--- a/tools/root.make
+++ b/tools/root.make
@@ -126,7 +126,7 @@ else # core
126 include $(APPSDIR)/apps.make 126 include $(APPSDIR)/apps.make
127 include $(ROOTDIR)/lib/rbcodec/rbcodec.make 127 include $(ROOTDIR)/lib/rbcodec/rbcodec.make
128 128
129 ifdef ENABLEDPLUGINS 129 ifeq ($(ENABLEDPLUGINS),yes)
130 include $(APPSDIR)/plugins/bitmaps/pluginbitmaps.make 130 include $(APPSDIR)/plugins/bitmaps/pluginbitmaps.make
131 include $(APPSDIR)/plugins/plugins.make 131 include $(APPSDIR)/plugins/plugins.make
132 endif 132 endif