From 367910fc6dd41e1d84789b305e6bd9cbafb78fbc Mon Sep 17 00:00:00 2001 From: Doug Zongker Date: Mon, 15 Jun 2009 18:56:51 -0700 Subject: [PATCH] don't build ota or update packages for sdk or sim --- core/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/core/Makefile b/core/Makefile index a9ca138ab7..0b7aa88725 100644 --- a/core/Makefile +++ b/core/Makefile @@ -860,6 +860,10 @@ target-files-package: $(BUILT_TARGET_FILES_PACKAGE) # ----------------------------------------------------------------- # OTA update package + +ifneq ($(TARGET_SIMULATOR),true) +ifneq ($(TARGET_PRODUCT),sdk) + name := $(TARGET_PRODUCT) ifeq ($(TARGET_BUILD_TYPE),debug) name := $(name)_debug @@ -880,6 +884,8 @@ $(INTERNAL_OTA_PACKAGE_TARGET): $(BUILT_TARGET_FILES_PACKAGE) otatools .PHONY: otapackage otapackage: $(INTERNAL_OTA_PACKAGE_TARGET) +endif # TARGET_PRODUCT != sdk +endif # TARGET_SIMULATOR != true # ----------------------------------------------------------------- # installed file list @@ -982,6 +988,9 @@ dalvikfiles: $(INTERNAL_DALVIK_MODULES) # ----------------------------------------------------------------- # The update package +ifneq ($(TARGET_SIMULATOR),true) +ifneq ($(TARGET_PRODUCT),sdk) + name := $(TARGET_PRODUCT) ifeq ($(TARGET_BUILD_TYPE),debug) name := $(name)_debug @@ -999,6 +1008,9 @@ $(INTERNAL_UPDATE_PACKAGE_TARGET): $(BUILT_TARGET_FILES_PACKAGE) otatools .PHONY: updatepackage updatepackage: $(INTERNAL_UPDATE_PACKAGE_TARGET) +endif # TARGET_PRODUCT != sdk +endif # TARGET_SIMULATOR != true + # ----------------------------------------------------------------- # The emulator package