diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2021-04-01 15:43:30 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2021-04-01 15:45:38 -0400 |
commit | 9e15c19891282e3740a78cf7d6a74bd0041a55a2 (patch) | |
tree | 5a6e218cfd244cdfd334a69ddc9b28d5e3a7ead1 | |
parent | 2f785c7797d0a40a0c797208cbcc753ddfe9193a (diff) |
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.make | 2 |
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 include $(APPSDIR)/apps.make include $(ROOTDIR)/lib/rbcodec/rbcodec.make - ifdef ENABLEDPLUGINS + ifeq ($(ENABLEDPLUGINS),yes) include $(APPSDIR)/plugins/bitmaps/pluginbitmaps.make include $(APPSDIR)/plugins/plugins.make endif |