Home | History | Annotate | Download | only in bootctrl
      1 ifneq ($(filter msm8996,$(TARGET_BOARD_PLATFORM)),)
      2 LOCAL_PATH := $(call my-dir)
      3 
      4 # HAL Shared library for the target. Used by libhardware.
      5 include $(CLEAR_VARS)
      6 LOCAL_C_INCLUDES += hardware/libhardware/include
      7 LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/gpt-utils/inc
      8 LOCAL_CFLAGS += -Wall -Werror
      9 LOCAL_SHARED_LIBRARIES += liblog librecovery_updater_msm libcutils
     10 LOCAL_SRC_FILES := boot_control.cpp
     11 LOCAL_MODULE_RELATIVE_PATH := hw
     12 LOCAL_MODULE := bootctrl.$(TARGET_BOARD_PLATFORM)
     13 include $(BUILD_SHARED_LIBRARY)
     14 
     15 # Static library for the target. Used by update_engine_sideload from recovery.
     16 include $(CLEAR_VARS)
     17 LOCAL_C_INCLUDES += hardware/libhardware/include
     18 LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/gpt-utils/inc
     19 LOCAL_CFLAGS += -Wall -Werror
     20 LOCAL_SHARED_LIBRARIES += liblog librecovery_updater_msm libcutils
     21 LOCAL_SRC_FILES := boot_control.cpp
     22 LOCAL_MODULE := bootctrl.$(TARGET_BOARD_PLATFORM)
     23 include $(BUILD_STATIC_LIBRARY)
     24 
     25 endif
     26