am f11fc5f0: am fb0a347b: Disable building OTA package if there is no kernel.

Merge commit 'f11fc5f098ab8481887cbbbbb4246f63837b61c9'

* commit 'f11fc5f098ab8481887cbbbbb4246f63837b61c9':
  Disable building OTA package if there is no kernel.
This commit is contained in:
Ying Wang 2010-08-25 16:40:44 -07:00 committed by Android Git Automerger
commit 1c19026961

View file

@ -1083,6 +1083,7 @@ target-files-package: $(BUILT_TARGET_FILES_PACKAGE)
ifneq ($(TARGET_SIMULATOR),true)
ifneq ($(TARGET_PRODUCT),sdk)
ifneq ($(TARGET_DEVICE),generic)
ifneq ($(TARGET_NO_KERNEL),true)
name := $(TARGET_PRODUCT)
ifeq ($(TARGET_BUILD_TYPE),debug)
@ -1104,6 +1105,7 @@ $(INTERNAL_OTA_PACKAGE_TARGET): $(BUILT_TARGET_FILES_PACKAGE) $(OTATOOLS)
.PHONY: otapackage
otapackage: $(INTERNAL_OTA_PACKAGE_TARGET)
endif # TARGET_NO_KERNEL != true
endif # TARGET_DEVICE != generic
endif # TARGET_PRODUCT != sdk
endif # TARGET_SIMULATOR != true