summaryrefslogtreecommitdiffstats
path: root/core/Makefile
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2011-03-03 21:52:08 -0800
committerYing Wang <wangying@google.com>2011-03-04 14:42:13 -0800
commita73b6561cee39ad416f4af327dbe72ec565d2423 (patch)
tree8bccd02c62494fb943067c2ae01ad54ab317fa2f /core/Makefile
parenta34fa95c164a9388ed0b84b17a63241bffd4132a (diff)
downloadbuild-a73b6561cee39ad416f4af327dbe72ec565d2423.zip
build-a73b6561cee39ad416f4af327dbe72ec565d2423.tar.gz
build-a73b6561cee39ad416f4af327dbe72ec565d2423.tar.bz2
Drop support for target files with no recovery.fstab.
Change-Id: I099298cfffc2546975732a3bf0df60f96ccbdac4 Meanwhile don't build the ota and update zip files if no recovery.fstab found.
Diffstat (limited to 'core/Makefile')
-rw-r--r--core/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/Makefile b/core/Makefile
index d5fd9a8..1a5d294 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -1025,6 +1025,7 @@ ifneq ($(TARGET_SIMULATOR),true)
ifneq ($(TARGET_PRODUCT),sdk)
ifneq ($(TARGET_DEVICE),generic)
ifneq ($(TARGET_NO_KERNEL),true)
+ifneq ($(recovery_fstab),)
# -----------------------------------------------------------------
# OTA update package
@@ -1077,6 +1078,7 @@ $(INTERNAL_UPDATE_PACKAGE_TARGET): $(BUILT_TARGET_FILES_PACKAGE) $(OTATOOLS)
.PHONY: updatepackage
updatepackage: $(INTERNAL_UPDATE_PACKAGE_TARGET)
+endif # recovery_fstab is defined
endif # TARGET_NO_KERNEL != true
endif # TARGET_DEVICE != generic
endif # TARGET_PRODUCT != sdk