Merge "Add installed-files-vendor-ramdisk.txt" am: 1393da036e
Original change: https://android-review.googlesource.com/c/platform/build/+/1507726 Change-Id: Iec5ec53fc94bc53a3ed2d5d475cffa440accaff7
This commit is contained in:
commit
a0ceb3c124
2 changed files with 15 additions and 0 deletions
|
@ -934,6 +934,17 @@ endif
|
|||
$(INTERNAL_VENDOR_RAMDISK_TARGET): $(MKBOOTFS) $(INTERNAL_VENDOR_RAMDISK_FILES) | $(COMPRESSION_COMMAND_DEPS)
|
||||
$(MKBOOTFS) -d $(TARGET_OUT) $(TARGET_VENDOR_RAMDISK_OUT) $(PRIVATE_ADDITIONAL_DIR) | $(COMPRESSION_COMMAND) > $@
|
||||
|
||||
INSTALLED_FILES_FILE_VENDOR_RAMDISK := $(PRODUCT_OUT)/installed-files-vendor-ramdisk.txt
|
||||
INSTALLED_FILES_JSON_VENDOR_RAMDISK := $(INSTALLED_FILES_FILE_VENDOR_RAMDISK:.txt=.json)
|
||||
$(INSTALLED_FILES_FILE_VENDOR_RAMDISK): .KATI_IMPLICIT_OUTPUTS := $(INSTALLED_FILES_JSON_VENDOR_RAMDISK)
|
||||
$(INSTALLED_FILES_FILE_VENDOR_RAMDISK): $(INTERNAL_VENDOR_RAMDISK_TARGET)
|
||||
$(INSTALLED_FILES_FILE_VENDOR_RAMDISK): $(INTERNAL_VENDOR_RAMDISK_FILES) $(FILESLIST) $(FILESLIST_UTIL)
|
||||
echo Installed file list: $@
|
||||
mkdir -p $(dir $@)
|
||||
rm -f $@
|
||||
$(hide) $(FILESLIST) $(TARGET_VENDOR_RAMDISK_OUT) > $(@:.txt=.json)
|
||||
$(hide) $(FILESLIST_UTIL) -c $(@:.txt=.json) > $@
|
||||
|
||||
ifdef BOARD_INCLUDE_DTB_IN_BOOTIMG
|
||||
INTERNAL_VENDOR_BOOTIMAGE_ARGS += --dtb $(INSTALLED_DTBIMAGE_TARGET)
|
||||
endif
|
||||
|
|
|
@ -1625,6 +1625,8 @@ droidcore: $(filter $(HOST_OUT_ROOT)/%,$(modules_to_install)) \
|
|||
$(INSTALLED_FILES_JSON_RAMDISK) \
|
||||
$(INSTALLED_FILES_FILE_DEBUG_RAMDISK) \
|
||||
$(INSTALLED_FILES_JSON_DEBUG_RAMDISK) \
|
||||
$(INSTALLED_FILES_FILE_VENDOR_RAMDISK) \
|
||||
$(INSTALLED_FILES_JSON_VENDOR_RAMDISK) \
|
||||
$(INSTALLED_FILES_FILE_VENDOR_DEBUG_RAMDISK) \
|
||||
$(INSTALLED_FILES_JSON_VENDOR_DEBUG_RAMDISK) \
|
||||
$(INSTALLED_FILES_FILE_ROOT) \
|
||||
|
@ -1774,6 +1776,8 @@ else ifeq (,$(TARGET_BUILD_UNBUNDLED))
|
|||
$(INSTALLED_FILES_JSON_RAMDISK) \
|
||||
$(INSTALLED_FILES_FILE_DEBUG_RAMDISK) \
|
||||
$(INSTALLED_FILES_JSON_DEBUG_RAMDISK) \
|
||||
$(INSTALLED_FILES_FILE_VENDOR_RAMDISK) \
|
||||
$(INSTALLED_FILES_JSON_VENDOR_RAMDISK) \
|
||||
$(INSTALLED_FILES_FILE_VENDOR_DEBUG_RAMDISK) \
|
||||
$(INSTALLED_FILES_JSON_VENDOR_DEBUG_RAMDISK) \
|
||||
$(INSTALLED_DEBUG_RAMDISK_TARGET) \
|
||||
|
|
Loading…
Reference in a new issue