From 9e15c19891282e3740a78cf7d6a74bd0041a55a2 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Thu, 1 Apr 2021 15:43:30 -0400 Subject: 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 --- tools/root.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3