forked from openkylin/platform_build
Remove some dist targets from PDK builds
Remove apps.zip and package_stats.txt from the PDK build, they fail because no apps or jar files are built. Remove emulator.zip, the emulator is not built. Also, put recovery.img back into the PDK build, it is needed by the img.zip target, and will be necessary for fusion builds. Change-Id: Ie314e0432881d3ee4f1ef3eec5a98be6b8581572
This commit is contained in:
parent
51cf729aad
commit
971c246cb5
14
core/main.mk
14
core/main.mk
|
@ -719,9 +719,6 @@ bootimage: $(INSTALLED_BOOTIMAGE_TARGET)
|
|||
ifeq ($(BUILD_TINY_ANDROID), true)
|
||||
INSTALLED_RECOVERYIMAGE_TARGET :=
|
||||
endif
|
||||
ifneq ($(TARGET_BUILD_PDK),)
|
||||
INSTALLED_RECOVERYIMAGE_TARGET :=
|
||||
endif
|
||||
|
||||
# Build files and then package it into the rom formats
|
||||
.PHONY: droidcore
|
||||
|
@ -769,9 +766,6 @@ else # TARGET_BUILD_APPS
|
|||
$(INTERNAL_UPDATE_PACKAGE_TARGET) \
|
||||
$(INTERNAL_OTA_PACKAGE_TARGET) \
|
||||
$(SYMBOLS_ZIP) \
|
||||
$(APPS_ZIP) \
|
||||
$(INTERNAL_EMULATOR_PACKAGE_TARGET) \
|
||||
$(PACKAGE_STATS_FILE) \
|
||||
$(INSTALLED_FILES_FILE) \
|
||||
$(INSTALLED_BUILD_PROP_TARGET) \
|
||||
$(BUILT_TARGET_FILES_PACKAGE) \
|
||||
|
@ -780,6 +774,14 @@ else # TARGET_BUILD_APPS
|
|||
$(INSTALLED_FACTORY_RAMDISK_TARGET) \
|
||||
)
|
||||
|
||||
ifneq ($(TARGET_BUILD_PDK),true)
|
||||
$(call dist-for-goals, droidcore, \
|
||||
$(APPS_ZIP) \
|
||||
$(INTERNAL_EMULATOR_PACKAGE_TARGET) \
|
||||
$(PACKAGE_STATS_FILE) \
|
||||
)
|
||||
endif
|
||||
|
||||
# Building a full system-- the default is to build droidcore
|
||||
droid: droidcore dist_files
|
||||
|
||||
|
|
Loading…
Reference in New Issue