Add a dist goal for the NDK.
Test: make sdk dist Bug: None Change-Id: I07dfc73e3cea5afebcf5ed10cf860eb3f33cbff6
This commit is contained in:
parent
3b54b69205
commit
4d323338fe
1 changed files with 9 additions and 0 deletions
|
@ -2027,6 +2027,15 @@ ifneq ($(filter $(MAKECMDGOALS),target-files-package),)
|
|||
$(call dist-for-goals, target-files-package, $(BUILT_TARGET_FILES_PACKAGE))
|
||||
endif
|
||||
|
||||
# -----------------------------------------------------------------
|
||||
# NDK Sysroot Package
|
||||
NDK_SYSROOT_TARGET := $(PRODUCT_OUT)/ndk_sysroot.tar.bz2
|
||||
$(NDK_SYSROOT_TARGET): ndk
|
||||
@echo Package NDK sysroot...
|
||||
$(hide) tar cjf $@ -C $(SOONG_OUT_DIR) ndk
|
||||
|
||||
$(call dist-for-goals,sdk,$(NDK_SYSROOT_TARGET))
|
||||
|
||||
ifeq ($(build_ota_package),true)
|
||||
# -----------------------------------------------------------------
|
||||
# OTA update package
|
||||
|
|
Loading…
Reference in a new issue