On 22 October 2014 05:31, Masahiro Yamada <yamad...@jp.panasonic.com> wrote:
> 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.
>
> Signed-off-by: Masahiro Yamada <yamad...@jp.panasonic.com>
> Acked-by: Marek Vasut <ma...@denx.de>
> Cc: Tom Rini <tr...@ti.com>
> Cc: Simon Glass <s...@chromium.org>

Acked-by: Simon Glass <s...@chromium.org>

> ---
>
> Changes in v2:
>   - Mention to see doc/README.generic-board
>
>  Makefile | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/Makefile b/Makefile
> index 99097e1..b28edcc 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -775,6 +775,13 @@ quiet_cmd_pad_cat = CAT     $@
>  cmd_pad_cat = $(cmd_objcopy) && $(append) || rm -f $@
>
>  all:           $(ALL-y)
> +ifneq ($(CONFIG_SYS_GENERIC_BOARD),y)
> +       @echo >&2 "===================== WARNING ======================"
> +       @echo >&2 "Please convert this board to generic board."
> +       @echo >&2 "Otherwise it will be removed by the end of 2014."
> +       @echo >&2 "See doc/README.generic-board for further information"
> +       @echo >&2 "===================================================="
> +endif
>
>  PHONY += dtbs
>  dtbs dts/dt.dtb: checkdtc u-boot
> --
> 1.9.1
>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to