OSDN Git Service

core: Fix unified trees with no TARGET_OTA_ASSERT_DEVICE
[android-x86/build.git] / core / Makefile
index 1e56bd1..d1847f9 100644 (file)
@@ -2203,7 +2203,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