From 3a54283f966c00bd60966e2c24012adc4e02bd2d Mon Sep 17 00:00:00 2001 From: Tao Bao Date: Fri, 21 Jun 2019 11:38:26 -0700 Subject: [PATCH] sm6250-common: Don't build super.img for AOSP targets. super.img is designed to be used for factory use, which is not meaningful for AOSP targets. And it would cause build failure when building w/o vendor.img. Bug: 135752763 Test: `m dist PRODUCT-aosp_coral-userdebug` no longer generates super.img. Test: Build the CL in a branch that doesn't have vendor.img. Change-Id: If020ef21ca8881c1765b38ec8fa78ead1ded97ee --- common.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/common.mk b/common.mk index f3d2cd7..012f108 100644 --- a/common.mk +++ b/common.mk @@ -154,6 +154,7 @@ PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += \ $(LOCAL_PATH)/overlay-system # Partitions +PRODUCT_BUILD_SUPER_PARTITION := false PRODUCT_USE_DYNAMIC_PARTITIONS := true # Power