diff --git a/bootloader_message/Android.mk b/bootloader_message/Android.mk index 815ac67d7..20889a538 100644 --- a/bootloader_message/Android.mk +++ b/bootloader_message/Android.mk @@ -12,6 +12,8 @@ # See the License for the specific language governing permissions and # limitations under the License. +ifneq ($(BOARD_PROVIDES_BOOTLOADER_MESSAGE),true) + LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) @@ -22,3 +24,5 @@ LOCAL_STATIC_LIBRARIES := libbase libfs_mgr LOCAL_C_INCLUDES := $(LOCAL_PATH)/include LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include include $(BUILD_STATIC_LIBRARY) + +endif