build: make various subsystems selectable

BZ: 46710

For bringup and support of various hardware, we need to be able to disable
intel add-on's in a convenient way via This commit adds
required fixes to various files. is also changed disable a number of subsystems for bring-up
of JB

Change-Id: Id976736d07966e8948256ed462ad148246a05bbb
Signed-off-by: Bruce Beare <>
Reviewed-by: Li, XiaojingX <>
Tested-by: Li, XiaojingX <>
diff --git a/ b/
index baf7b48..0ed1c8a 100644
--- a/
+++ b/
@@ -1,6 +1,8 @@
 LOCAL_PATH := $(call my-dir)
-include $(CLEAR_VARS)
+ifeq ($(INTEL_VA),true)
+include $(CLEAR_VARS)
 include $(VENDORS_INTEL_MRST_LIBMIX_ROOT)/mix_common/src/
@@ -10,3 +12,5 @@
 include $(VENDORS_INTEL_MRST_LIBMIX_ROOT)/asfparser/
 include $(VENDORS_INTEL_MRST_LIBMIX_ROOT)/videodecoder/
 include $(VENDORS_INTEL_MRST_LIBMIX_ROOT)/videoencoder/