Skip to content
Snippets Groups Projects
Commit 5add293b authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Tom Rini
Browse files

generic-board: make compile-time noise for non-generic boards


Commit 0f605c15 (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: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: default avatarMarek Vasut <marex@denx.de>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@ti.com>
parent cfa1bd07
Branches
Tags
No related merge requests found
...@@ -780,6 +780,13 @@ quiet_cmd_pad_cat = CAT $@ ...@@ -780,6 +780,13 @@ quiet_cmd_pad_cat = CAT $@
cmd_pad_cat = $(cmd_objcopy) && $(append) || rm -f $@ cmd_pad_cat = $(cmd_objcopy) && $(append) || rm -f $@
all: $(ALL-y) 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 PHONY += dtbs
dtbs dts/dt.dtb: checkdtc u-boot dtbs dts/dt.dtb: checkdtc u-boot
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment