From 426ec55b413b77b70cf25ba04941f1b9157ed32f Mon Sep 17 00:00:00 2001 From: Patrick Tjin Date: Tue, 9 Feb 2016 14:12:47 -0800 Subject: [PATCH] Allow squashfs for vendor image only Previously, the squashfs dependencies were included only if the system image was squashfs. Allow the vendor image trigger the dependency. Change-Id: I5b1c513e9c13d83efc3ca6a904f08a91d9cca85f --- core/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Makefile b/core/Makefile index bc37369c8..1ee6549a2 100644 --- a/core/Makefile +++ b/core/Makefile @@ -754,7 +754,7 @@ endif ifneq (true,$(TARGET_USERIMAGES_SPARSE_SQUASHFS_DISABLED)) INTERNAL_USERIMAGES_SPARSE_SQUASHFS_FLAG := -s endif -ifeq ($(BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE),squashfs) +ifneq ($(filter $(BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE) $(BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE),squashfs),) INTERNAL_USERIMAGES_DEPS += $(MAKE_SQUASHFS) $(MKSQUASHFSUSERIMG) $(IMG2SIMG) endif -- 2.11.0