* commit '51f0d3f58a5c04ee328778bc97e42dc10cfa41ad': Allow to build target-files.zip in sdk build.
This commit is contained in:
commit
23bf7212ce
2 changed files with 4 additions and 1 deletions
|
@ -1349,6 +1349,9 @@ endif
|
|||
.PHONY: target-files-package
|
||||
target-files-package: $(BUILT_TARGET_FILES_PACKAGE)
|
||||
|
||||
ifneq ($(filter $(MAKECMDGOALS),target-files-package),)
|
||||
$(call dist-for-goals, target-files-package, $(BUILT_TARGET_FILES_PACKAGE))
|
||||
endif
|
||||
|
||||
ifneq ($(TARGET_PRODUCT),sdk)
|
||||
ifeq ($(filter generic%,$(TARGET_DEVICE)),)
|
||||
|
|
|
@ -399,7 +399,7 @@ ifdef is_sdk_build
|
|||
sdk_repo_goal := $(strip $(filter sdk_repo,$(MAKECMDGOALS)))
|
||||
MAKECMDGOALS := $(strip $(filter-out sdk_repo,$(MAKECMDGOALS)))
|
||||
|
||||
ifneq ($(words $(filter-out $(INTERNAL_MODIFIER_TARGETS) checkbuild emulator_tests,$(MAKECMDGOALS))),1)
|
||||
ifneq ($(words $(filter-out $(INTERNAL_MODIFIER_TARGETS) checkbuild emulator_tests target-files-package,$(MAKECMDGOALS))),1)
|
||||
$(error The 'sdk' target may not be specified with any other targets)
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue