Skip to content

Commit

Permalink
[CIC] Update publish.mk for CIC
Browse files Browse the repository at this point in the history
Tracked-On: OAM-88695
Signed-off-by: sgnanase <[email protected]>
  • Loading branch information
sgnanase committed Feb 10, 2020
1 parent ff4b283 commit 6c5e754
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tasks/publish.mk
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ publish_ci: publish_liveimage publish_ota_flashfile publish_gptimage publish_ifw
$(if $(wildcard $(f)),$(ACP) $(f) $(publish_dest);,)),)
@$(hide) mkdir -p $(publish_tool_destl)
@$(hide) $(ACP) $(PLATFORM_RMA_TOOLS_ZIP) $(publish_tool_destl)
$(hide) cp -f $(PRODUCT_OUT)/$(TARGET_AIC_FILE_NAME) $(publish_dest)
$(hide) cp $(PRODUCT_OUT)/cic.deb $(publish_dest)


.PHONY: publish_windows_tools
Expand All @@ -210,6 +212,8 @@ publish_ci: publish_liveimage publish_ota_flashfile publish_gptimage publish_ifw
$(if $(wildcard $(publish_dest)), \
$(foreach f,$(PUBLISH_CI_FILES), \
$(if $(wildcard $(f)),$(ACP) $(f) $(publish_dest);,)),)
$(hide) cp -f $(PRODUCT_OUT)/$(TARGET_AIC_FILE_NAME) $(publish_dest)
$(hide) cp $(PRODUCT_OUT)/cic.deb $(publish_dest)
endif

else # !PUBLISH_SDK
Expand Down Expand Up @@ -238,6 +242,13 @@ ifeq (,$(PUBLISH_GOALS))
PUBLISH_GOALS := $(DEFAULT_GOAL)
endif

.PHONY: publish_cic
publish_cic: aic
$(hide) cp -f $(PRODUCT_OUT)/$(TARGET_AIC_FILE_NAME) $(publish_dest)
$(hide) cp $(PRODUCT_OUT)/cic.deb $(publish_dest)

.PHONY: publish
publish: publish_mkdir_dest $(PUBLISH_GOALS) publish_ifwi publish_gptimage publish_firmware_symbols $(PUB_OSAGNOSTIC_TAG) publish_kf4abl_symbols $(PUB_CMCC_ZIP) publish_androidia_image
@$(ACP) $(DIST_DIR)/* $(publish_dest)
$(hide) cp -f $(PRODUCT_OUT)/$(TARGET_AIC_FILE_NAME) $(publish_dest)
$(hide) cp $(PRODUCT_OUT)/cic.deb $(publish_dest)

0 comments on commit 6c5e754

Please sign in to comment.