Skip to content

Commit

Permalink
Publish vmlinux for system debug
Browse files Browse the repository at this point in the history
Signed-off-by: Chen, Gang G <[email protected]>
  • Loading branch information
GangSecurity committed Jun 26, 2024
1 parent bdd92d2 commit 738831e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tasks/publish.mk
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,10 @@ publish_sdk_target: publish_mkdir_dest $(INTERNAL_SDK_TARGET)


endif # !PUBLISH_SDK

.PHONY: publish_vmlinux
publish_vmlinux:
@$(hide)($(ACP) $(BOARD_VMLINUX_DEFAULT_IMG) $(publish_dest))

# We need to make sure our 'publish' target depends on the other targets so
# that it will get done at the end. Logic copied from build/core/distdir.mk
Expand Down Expand Up @@ -286,6 +290,6 @@ publish: aic
$(hide) mkdir -p $(TOP)/pub/$(TARGET_PRODUCT)/$(TARGET_BUILD_VARIANT)
$(hide) cp $(PRODUCT_OUT)/$(TARGET_AIC_FILE_NAME) $(TOP)/pub/$(TARGET_PRODUCT)/$(TARGET_BUILD_VARIANT)
else # ANDROID_AS_GUEST
publish: publish_mkdir_dest $(PUBLISH_GOALS) publish_ifwi publish_gptimage_var publish_firmware_symbols $(PUB_OSAGNOSTIC_TAG) publish_kf4sbl_symbols $(PUB_CMCC_ZIP) publish_androidia_image publish_grubinstaller
publish: publish_mkdir_dest $(PUBLISH_GOALS) publish_ifwi publish_gptimage_var publish_firmware_symbols $(PUB_OSAGNOSTIC_TAG) publish_kf4sbl_symbols $(PUB_CMCC_ZIP) publish_androidia_image publish_grubinstaller publish_vmlinux
@$(ACP) out/dist/* $(publish_dest)
endif # ANDROID_AS_GUEST

0 comments on commit 738831e

Please sign in to comment.