recovery: Fix bug where the module would not get compiled in some cases
We now correctly check the entire TARGET_RECOVERY_UPDATER_LIBS list for librecovery_updater_msm. Change-Id: Ief2bde02b432537ded80ab563e41b82142e15955
This commit is contained in:
parent
403c50bbc0
commit
427b76cdf8
|
@ -1,7 +1,5 @@
|
||||||
ifeq ($(TARGET_RECOVERY_UPDATER_LIBS),librecovery_updater_msm)
|
ifneq ($(filter librecovery_updater_msm,$(TARGET_RECOVERY_UPDATER_LIBS)),)
|
||||||
|
|
||||||
LOCAL_PATH := $(call my-dir)
|
LOCAL_PATH := $(call my-dir)
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
LOCAL_MODULE_TAGS := optional
|
LOCAL_MODULE_TAGS := optional
|
||||||
LOCAL_C_INCLUDES := bootable/recovery \
|
LOCAL_C_INCLUDES := bootable/recovery \
|
||||||
|
@ -11,5 +9,4 @@ LOCAL_SRC_FILES := gpt-utils.c dec.c oem-updater.c
|
||||||
LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
|
LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
|
||||||
LOCAL_MODULE := librecovery_updater_msm
|
LOCAL_MODULE := librecovery_updater_msm
|
||||||
include $(BUILD_STATIC_LIBRARY)
|
include $(BUILD_STATIC_LIBRARY)
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue