Merge "Allow to build target-files.zip in sdk build." into klp-modular-dev
This commit is contained in:
commit
fcd22c8848
2 changed files with 4 additions and 1 deletions
|
@ -1288,6 +1288,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)),)
|
||||
|
|
|
@ -391,7 +391,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,$(MAKECMDGOALS))),1)
|
||||
ifneq ($(words $(filter-out $(INTERNAL_MODIFIER_TARGETS) checkbuild target-files-package,$(MAKECMDGOALS))),1)
|
||||
$(error The 'sdk' target may not be specified with any other targets)
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue