Better way to disable OTAs for crespo - DO NOT MERGE
OTAs need to be disabled for all products using crespo
hardware, not just a single one.
Change-Id: I961462e5e87bec8c59dafa13dbf0fdc96bab29ab
diff --git a/core/Makefile b/core/Makefile
index 8f5b89a..d4b876e 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -972,7 +972,7 @@
# OTA update package
# disable ota for crespo temporarily.
-ifneq ($(TARGET_PRODUCT),crespo)
+ifneq ($(TARGET_DEVICE),crespo)
ifneq ($(TARGET_SIMULATOR),true)
ifneq ($(TARGET_PRODUCT),sdk)
ifneq ($(TARGET_DEVICE),generic)