From 52f74821d3eeade7a8862203d609b4bbb427f012 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Fri, 3 Nov 2017 15:52:50 -0700 Subject: [PATCH] Switch deprecation message to $(warning) This way it shows up when using the old copy of lunch, which hides stdout. Test: source old_envsetup; lunch aosp_marlin-eng Change-Id: I4bccf37fe69c0d7affb5805d05a2750e5d9a3da4 --- core/config.mk | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/core/config.mk b/core/config.mk index dca72899a3..3c2b516e6f 100644 --- a/core/config.mk +++ b/core/config.mk @@ -5,18 +5,15 @@ ifndef KATI $(warning Directly using config.mk from make is no longer supported.) -$(info ) -# Repeat the warning so that it's in both the stdout and stderr streams -$(info Directly using config.mk from make is no longer supported.) -$(info ) -$(info If you are just attempting to build, you probably need to re-source envsetup.sh:) -$(info ) -$(info $$ source build/envsetup.sh) -$(info ) -$(info If you are attempting to emulate get_build_var, use one of the following:) -$(info $$ build/soong/soong_ui.bash --dumpvar-mode) -$(info $$ build/soong/soong_ui.bash --dumpvars-mode) -$(info ) +$(warning ) +$(warning If you are just attempting to build, you probably need to re-source envsetup.sh:) +$(warning ) +$(warning $$ source build/envsetup.sh) +$(warning ) +$(warning If you are attempting to emulate get_build_var, use one of the following:) +$(warning $$ build/soong/soong_ui.bash --dumpvar-mode) +$(warning $$ build/soong/soong_ui.bash --dumpvars-mode) +$(warning ) $(error done) endif