Fix build: disable OpenCORE by default.
Fixes http://b.android.com/2308
This is not meant to be a permanent fix, but since everyone except
a handful of people need this, it's easier to set it for everyone
and have that handful of people unset is locally than to force
everyone to make a local tweak.
diff --git a/core/config.mk b/core/config.mk
index 90a40a7..91ed791 100644
--- a/core/config.mk
+++ b/core/config.mk
@@ -278,6 +278,12 @@
TARGET_COMPRESS_MODULE_SYMBOLS := false
TARGET_PRELINK_MODULE := true
+# This is a temporary hack to globally disable OpenCORE as
+# it broke during a major cupcake->master merge.
+# See issue 2308 for the reason why it's necessary.
+# TODO: remove this as soon as OpenCORE builds again - issue 2331.
+BUILD_WITHOUT_PV := true
+
PREBUILT_IS_PRESENT := $(if $(wildcard prebuilt/Android.mk),true)