From 414dbe15ab8a56708b6edd62930198f629115009 Mon Sep 17 00:00:00 2001 From: Steve Muckle Date: Thu, 18 Jun 2020 21:38:35 -0700 Subject: [PATCH] adjust vendor ramdisk file extension based on compression The extension for the generated vendor ramdisk should be updated based on the compression scheme used. Bug: 158433703 Change-Id: I25fff0b8a7879f6aa6d6fe2fce9f5a53f90eb636 --- core/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Makefile b/core/Makefile index b46dca161..eafcf9bea 100644 --- a/core/Makefile +++ b/core/Makefile @@ -813,7 +813,7 @@ INTERNAL_VENDOR_RAMDISK_FILES := $(filter $(TARGET_VENDOR_RAMDISK_OUT)/%, \ $(ALL_GENERATED_SOURCES) \ $(ALL_DEFAULT_INSTALLED_MODULES)) -INTERNAL_VENDOR_RAMDISK_TARGET := $(call intermediates-dir-for,PACKAGING,vendor-boot)/vendor-ramdisk.cpio.gz +INTERNAL_VENDOR_RAMDISK_TARGET := $(call intermediates-dir-for,PACKAGING,vendor-boot)/vendor-ramdisk.cpio$(RAMDISK_EXT) $(INTERNAL_VENDOR_RAMDISK_TARGET): $(MKBOOTFS) $(INTERNAL_VENDOR_RAMDISK_FILES) | $(COMPRESSION_COMMAND_DEPS) $(MKBOOTFS) -d $(TARGET_OUT) $(TARGET_VENDOR_RAMDISK_OUT) | $(COMPRESSION_COMMAND) > $@