summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorProdyut Hazarika <prodyut.hazarika@intel.com>2014-08-11 17:07:05 -0700
committerPatrick Tjin <pattjin@google.com>2014-08-11 20:43:23 -0700
commit23dfe463711d038d9fe42642e36a2ffb3c20de3b (patch)
tree5ae151345cf8dea4fa0702b5a61d1fd4ab3ce543
parent5721f8e2cd5a1b7cd47660135f73b0a48452e82a (diff)
downloadbootstub-23dfe463711d038d9fe42642e36a2ffb3c20de3b.tar.gz
[REVERT ME] Disable bootstub compilation
bootstub compilation is failing in L. As a workaround, use a prebuilt 2ndbootloader binary till the proper fix is put Bug: 16928801 Change-Id: If2950a0c1c6c5a0a26587bfa20c61518a10782eb Signed-off-by: Prodyut Hazarika <prodyut.hazarika@intel.com> Signed-off-by: Patrick Tjin <pattjin@google.com>
-rw-r--r--2ndbootloaderbin0 -> 8192 bytes
-rw-r--r--Android.mk17
2 files changed, 16 insertions, 1 deletions
diff --git a/2ndbootloader b/2ndbootloader
new file mode 100644
index 0000000..132b0d3
--- /dev/null
+++ b/2ndbootloader
Binary files differ
diff --git a/Android.mk b/Android.mk
index e90bb6c..889079d 100644
--- a/Android.mk
+++ b/Android.mk
@@ -1,7 +1,22 @@
LOCAL_PATH := $(call my-dir)
-
+
+# HACK: Revert back to moorefield after bootstub compilation is fixed
ifeq ($(TARGET_BOARD_PLATFORM),moorefield)
+# 2ndbootloader - temporary prebuilt
+include $(CLEAR_VARS)
+LOCAL_MODULE := 2ndbootloader
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_CLASS := ETC
+LOCAL_MODULE_PATH := $(PRODUCT_OUT)
+LOCAL_SRC_FILES := 2ndbootloader
+include $(BUILD_PREBUILT)
+
+endif #($(TARGET_BOARD_PLATFORM),moorefield)
+# END HACK
+
+ifeq ($(TARGET_BOARD_PLATFORM),moorefield_disabled)
+
include $(CLEAR_VARS)
# First compile bootstub.bin