Skip to content

Commit

Permalink
core: Fix unified trees with no TARGET_OTA_ASSERT_DEVICE
Browse files Browse the repository at this point in the history
If TARGET_OTA_ASSERT_DEVICE is not set, TARGET_DEVICE should be
used for OTA_SCRIPT_OVERRIDE_DEVICE.

Change-Id: If382dfa29dddb39498dec5f5eadc9895b7c47d88
  • Loading branch information
Gabriele M authored and PRJosh committed Mar 21, 2017
1 parent 2b92bf4 commit 6800d5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6800d5b

Please sign in to comment.