Ameya Thakur | 8ec3d15 | 2016-09-23 14:50:14 -0700 | [diff] [blame] | 1 | ifeq ($(AB_OTA_UPDATER),true) |
Steve Paik | 53b0ac4 | 2017-04-28 15:38:37 -0700 | [diff] [blame] | 2 | # TODO: Find a better way to separate build configs for ADP vs non-ADP devices |
| 3 | ifneq ($(BOARD_IS_AUTOMOTIVE),true) |
Sean hoyt | 8763fc0 | 2017-10-21 11:29:14 +0000 | [diff] [blame] | 4 | ifneq ($(filter msm8953 msm8996 msm8998 sdm845,$(TARGET_BOARD_PLATFORM)),) |
Steve Pfetsch | d7b0399 | 2016-04-20 17:53:38 -0700 | [diff] [blame] | 5 | LOCAL_PATH := $(call my-dir) |
Alex Deymo | 8352159 | 2016-08-01 16:25:08 -0700 | [diff] [blame] | 6 | |
| 7 | # HAL Shared library for the target. Used by libhardware. |
Steve Pfetsch | d7b0399 | 2016-04-20 17:53:38 -0700 | [diff] [blame] | 8 | include $(CLEAR_VARS) |
Steve Pfetsch | d7b0399 | 2016-04-20 17:53:38 -0700 | [diff] [blame] | 9 | LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/gpt-utils/inc |
| 10 | LOCAL_CFLAGS += -Wall -Werror |
Tao Bao | 9f65b5d | 2017-01-04 13:27:24 -0800 | [diff] [blame] | 11 | LOCAL_SHARED_LIBRARIES += liblog libgptutils libcutils |
Jiyong Park | 34d16f4 | 2017-06-29 15:25:09 +0900 | [diff] [blame] | 12 | LOCAL_HEADER_LIBRARIES := libhardware_headers libsystem_headers |
Naveen Ramaraj | 2a276b3 | 2016-07-15 11:39:23 -0700 | [diff] [blame] | 13 | LOCAL_SRC_FILES := boot_control.cpp |
Steve Pfetsch | d7b0399 | 2016-04-20 17:53:38 -0700 | [diff] [blame] | 14 | LOCAL_MODULE_RELATIVE_PATH := hw |
| 15 | LOCAL_MODULE := bootctrl.$(TARGET_BOARD_PLATFORM) |
Diego Wilson | 76ad13a | 2017-02-25 17:47:49 -0800 | [diff] [blame] | 16 | LOCAL_MODULE_OWNER := qcom |
| 17 | LOCAL_PROPRIETARY_MODULE := true |
Steve Pfetsch | d7b0399 | 2016-04-20 17:53:38 -0700 | [diff] [blame] | 18 | include $(BUILD_SHARED_LIBRARY) |
Alex Deymo | 8352159 | 2016-08-01 16:25:08 -0700 | [diff] [blame] | 19 | |
| 20 | # Static library for the target. Used by update_engine_sideload from recovery. |
| 21 | include $(CLEAR_VARS) |
Alex Deymo | 8352159 | 2016-08-01 16:25:08 -0700 | [diff] [blame] | 22 | LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/gpt-utils/inc |
| 23 | LOCAL_CFLAGS += -Wall -Werror |
Tao Bao | 9f65b5d | 2017-01-04 13:27:24 -0800 | [diff] [blame] | 24 | LOCAL_SHARED_LIBRARIES += liblog libgptutils libcutils |
Jiyong Park | 34d16f4 | 2017-06-29 15:25:09 +0900 | [diff] [blame] | 25 | LOCAL_HEADER_LIBRARIES := libhardware_headers libsystem_headers |
Alex Deymo | 8352159 | 2016-08-01 16:25:08 -0700 | [diff] [blame] | 26 | LOCAL_SRC_FILES := boot_control.cpp |
| 27 | LOCAL_MODULE := bootctrl.$(TARGET_BOARD_PLATFORM) |
| 28 | include $(BUILD_STATIC_LIBRARY) |
| 29 | |
Steve Pfetsch | 98c24fe | 2016-04-21 00:15:03 -0700 | [diff] [blame] | 30 | endif |
Steve Paik | 53b0ac4 | 2017-04-28 15:38:37 -0700 | [diff] [blame] | 31 | endif |
Ameya Thakur | 8ec3d15 | 2016-09-23 14:50:14 -0700 | [diff] [blame] | 32 | endif |