Makefile: Add common code to report deprecation
authorSimon Glass <sjg@chromium.org>
Thu, 25 Mar 2021 08:24:33 +0000 (21:24 +1300)
committerTom Rini <trini@konsulko.com>
Sat, 27 Mar 2021 13:48:26 +0000 (09:48 -0400)
commit13732528516d161ad52e878bdb6b5aec309cf0c0
tree1d6a7bc8d12c027134554c8bafdc7d637f091edc
parent06467e4652460f619f8be4bb4859e171d35cc258
Makefile: Add common code to report deprecation

Add a function which can be called to report a migration problem. This
will make it easier to add new migration checks, since the logic and
strings are not spread out over 8 lines of code.

Signed-off-by: Simon Glass <sjg@chromium.org>
Makefile