From ddc9763ee2a4596e33e3123ae9ecf9bd1c01cf0c Mon Sep 17 00:00:00 2001 From: Yi-Yo Chiang Date: Fri, 7 Oct 2022 21:15:03 +0800 Subject: [PATCH] Remove deprecated BOARD_BUILD_SYSTEM_ROOT_IMAGE This variable is always false or empty now, so clean up remaining references of the variable. Bug: 241346584 Test: Presubmit Change-Id: Id5c37a1391239206477fd802d364a2678692f513 --- init/Android.bp | 5 +---- init/Android.mk | 2 -- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/init/Android.bp b/init/Android.bp index f0e362c85..f6f1e8c8c 100644 --- a/init/Android.bp +++ b/init/Android.bp @@ -308,7 +308,7 @@ soong_config_module_type { name: "init_first_stage_cc_defaults", module_type: "cc_defaults", config_namespace: "ANDROID", - bool_variables: ["BOARD_BUILD_SYSTEM_ROOT_IMAGE", "BOARD_USES_RECOVERY_AS_BOOT"], + bool_variables: ["BOARD_USES_RECOVERY_AS_BOOT"], properties: ["installable"], } @@ -317,9 +317,6 @@ soong_config_module_type { init_first_stage_cc_defaults { name: "init_first_stage_defaults", soong_config_variables: { - BOARD_BUILD_SYSTEM_ROOT_IMAGE: { - installable: false, - }, BOARD_USES_RECOVERY_AS_BOOT: { installable: false, }, diff --git a/init/Android.mk b/init/Android.mk index c08fe0393..4b85c15ea 100644 --- a/init/Android.mk +++ b/init/Android.mk @@ -8,11 +8,9 @@ LOCAL_MODULE := init_vendor LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 LOCAL_LICENSE_CONDITIONS := notice LOCAL_NOTICE_FILE := $(LOCAL_PATH)/NOTICE -ifneq ($(BOARD_BUILD_SYSTEM_ROOT_IMAGE),true) ifneq ($(BOARD_USES_RECOVERY_AS_BOOT),true) LOCAL_REQUIRED_MODULES := \ init_first_stage \ endif # BOARD_USES_RECOVERY_AS_BOOT -endif # BOARD_BUILD_SYSTEM_ROOT_IMAGE include $(BUILD_PHONY_PACKAGE)