diff options
author | Gabriele M <moto.falcon.git@gmail.com> | 2017-01-22 20:51:01 +0100 |
---|---|---|
committer | Zhao Wei Liew <zhaoweiliew@gmail.com> | 2017-01-23 11:06:28 +0800 |
commit | 9347d9680eca73a55d83fea3c9320e91aa92605a (patch) | |
tree | 910ada3248a6ec2fe3c9fc9c50056a4e5313e7ce | |
parent | a9182851fe1b9c992809f42caced4dd7f29026dc (diff) | |
download | build-9347d9680eca73a55d83fea3c9320e91aa92605a.zip build-9347d9680eca73a55d83fea3c9320e91aa92605a.tar.gz build-9347d9680eca73a55d83fea3c9320e91aa92605a.tar.bz2 |
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
-rw-r--r-- | core/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Makefile b/core/Makefile index 05169b0..6cf4b9e 100644 --- a/core/Makefile +++ b/core/Makefile @@ -1903,7 +1903,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 |