diff options
author | Jagan Teki <jagan@amarulasolutions.com> | 2019-05-29 17:01:30 -0400 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2019-06-13 12:51:06 +0530 |
commit | 63235bd077d3c5c302bd3382b3ec9975ba28d650 (patch) | |
tree | 8b6457873f77f96bd0a6164e39142bfc34651f1a /Makefile | |
parent | 524e98a71264631593fb83abfad21a01f62cd76e (diff) | |
download | u-boot-63235bd077d3c5c302bd3382b3ec9975ba28d650.tar.gz |
Makefile: Trigger a Warning if DEPRECATED is defined
If configured target has deprecated configs enabled, trigger a warning
about this.
Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
[trini: Change from BROKEN to DEPRECATED]
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -928,6 +928,9 @@ cmd_cfgcheck = $(srctree)/scripts/check-config.sh $2 \ $(srctree)/scripts/config_whitelist.txt $(srctree) all: $(ALL-y) +ifeq ($(CONFIG_DEPRECATED),y) + $(warning "You have deprecated configuration options enabled in your .config! Please check your configuration.") +endif ifeq ($(CONFIG_DM_I2C_COMPAT)$(CONFIG_SANDBOX),y) @echo >&2 "===================== WARNING ======================" @echo >&2 "This board uses CONFIG_DM_I2C_COMPAT. Please remove" |