diff --git a/core/main.mk b/core/main.mk index 57a89f712..123258b6b 100644 --- a/core/main.mk +++ b/core/main.mk @@ -367,7 +367,10 @@ endif ## user/userdebug ## -user_variant := $(filter user userdebug,$(TARGET_BUILD_VARIANT)) +user_variant := user +ifeq ($(TARGET_BUILD_VARIANT),eng) +user_variant := +endif enable_target_debugging := true tags_to_install := ifneq (,$(user_variant))