summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-11-07 03:32:07 +0900
committerTom Rini <trini@ti.com>2014-11-07 16:27:04 -0500
commit5add293bd8849a4f717b99d2a23b9db0729eb33d (patch)
tree55935daa6c51483b376e571888ca7f297ae6efec /Makefile
parentcfa1bd0774eafcba4791bad4d66f01b8f0dc6f94 (diff)
downloadu-boot-imx-5add293bd8849a4f717b99d2a23b9db0729eb33d.zip
u-boot-imx-5add293bd8849a4f717b99d2a23b9db0729eb33d.tar.gz
u-boot-imx-5add293bd8849a4f717b99d2a23b9db0729eb33d.tar.bz2
generic-board: make compile-time noise for non-generic boards
Commit 0f605c1501f6 (Start the deprecation process for generic board) added a run-time warning message. Let's be noisier for non-generic boards to inform the dead line of the conversion. This commit intentionally outputs a warning message to stdout. We still have many unconverted boards. If we print the message to stderr, MAKEALL and buildman will report tons of broken boards and really important information will be buried. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Marek Vasut <marex@denx.de> Acked-by: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@ti.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9c8a580..8e9d632 100644
--- a/Makefile
+++ b/Makefile
@@ -780,6 +780,13 @@ quiet_cmd_pad_cat = CAT $@
cmd_pad_cat = $(cmd_objcopy) && $(append) || rm -f $@
all: $(ALL-y)
+ifneq ($(CONFIG_SYS_GENERIC_BOARD),y)
+ @echo "===================== WARNING ======================"
+ @echo "Please convert this board to generic board."
+ @echo "Otherwise it will be removed by the end of 2014."
+ @echo "See doc/README.generic-board for further information"
+ @echo "===================================================="
+endif
PHONY += dtbs
dtbs dts/dt.dtb: checkdtc u-boot