forked from openkylin/platform_build
Don't build OTA package for aosp_emulator_us
This allows "make dist" to work on that configuration. A better fix would be to allow each product to specify whether it's an emulator target or a device target, and to adapt to that, but that'd be a lot more intrusive. Change-Id: I47708025204a4991466abceb1708a3020a543238
This commit is contained in:
parent
9723346871
commit
75e3264867
|
@ -907,6 +907,7 @@ target-files-package: $(BUILT_TARGET_FILES_PACKAGE)
|
|||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
ifneq ($(TARGET_PRODUCT),sdk)
|
||||
ifneq ($(TARGET_PRODUCT),generic)
|
||||
ifneq ($(TARGET_PRODUCT),aosp_emulator_us)
|
||||
|
||||
name := $(TARGET_PRODUCT)
|
||||
ifeq ($(TARGET_BUILD_TYPE),debug)
|
||||
|
@ -936,6 +937,7 @@ $(INTERNAL_OTA_PACKAGE_TARGET): $(BUILT_TARGET_FILES_PACKAGE) otatools
|
|||
.PHONY: otapackage
|
||||
otapackage: $(INTERNAL_OTA_PACKAGE_TARGET)
|
||||
|
||||
endif # TARGET_PRODUCT != aosp_emulator_us
|
||||
endif # TARGET_PRODUCT != generic
|
||||
endif # TARGET_PRODUCT != sdk
|
||||
endif # TARGET_SIMULATOR != true
|
||||
|
|
Loading…
Reference in New Issue