From 6800d5b5860e20fdd08b9d6862676bff290b49ce Mon Sep 17 00:00:00 2001 From: Gabriele M Date: Sun, 22 Jan 2017 20:51:01 +0100 Subject: [PATCH] core: Fix unified trees with no TARGET_OTA_ASSERT_DEVICE If TARGET_OTA_ASSERT_DEVICE is not set, TARGET_DEVICE should be used for OTA_SCRIPT_OVERRIDE_DEVICE. Change-Id: If382dfa29dddb39498dec5f5eadc9895b7c47d88 --- core/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Makefile b/core/Makefile index fd07e7e3d2..47fa433a68 100644 --- a/core/Makefile +++ b/core/Makefile @@ -2224,7 +2224,7 @@ endif ifneq ($(TARGET_UNIFIED_DEVICE),) OTA_SCRIPT_OVERRIDE_PROP := true ifeq ($(TARGET_OTA_ASSERT_DEVICE),) - OTA_SCRIPT_OVERRIDE_DEVICE := $(TARGET_OTA_ASSERT_DEVICE) + OTA_SCRIPT_OVERRIDE_DEVICE := $(TARGET_DEVICE) endif endif