sdm845-common: Import bootctrl and gpt-utils

* From CAF LA.UM.6.3.r4-04300-sdm845.0, modified to build with VNDK current

Change-Id: I0ad3c54134a95626521048331b9be9eee04b508d
This commit is contained in:
Luca Stefani
2018-07-10 10:21:07 +02:00
committed by Łukasz Patron
parent ea14b67acf
commit 3b332363e4
8 changed files with 2601 additions and 0 deletions

11
bootctrl/Android.mk Normal file
View File

@@ -0,0 +1,11 @@
LOCAL_PATH := $(call my-dir)
# Static library for the target. Used by update_engine_sideload from recovery.
include $(CLEAR_VARS)
LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/gpt-utils/inc
LOCAL_CFLAGS += -Wall -Werror
LOCAL_SHARED_LIBRARIES += liblog libgptutils libcutils
LOCAL_HEADER_LIBRARIES := libhardware_headers libsystem_headers
LOCAL_SRC_FILES := boot_control.cpp
LOCAL_MODULE := bootctrl.sdm845
include $(BUILD_STATIC_LIBRARY)