From: Vagrant Cascadian <vagrant@debian.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] generic-board: make compile-time noise for non-generic boards
Date: Sun, 19 Oct 2014 16:19:49 -0700 [thread overview]
Message-ID: <87lhobr6ju.fsf@aikidev.net> (raw)
In-Reply-To: <1413740790-5784-1-git-send-email-yamada.m@jp.panasonic.com>
On 2014-10-19, Masahiro Yamada 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.
...
> diff --git a/Makefile b/Makefile
> index 99097e1..f439d82 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -775,6 +775,12 @@ 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 "=================================================="
> +endif
>
> PHONY += dtbs
> dtbs dts/dt.dtb: checkdtc u-boot
Maybe it should also mention doc/README.generic-board in the warning, or
some other indication where to find more information?
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141019/3b047ab4/attachment.pgp>
prev parent reply other threads:[~2014-10-19 23:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-19 17:46 [U-Boot] [PATCH] generic-board: make compile-time noise for non-generic boards Masahiro Yamada
2014-10-19 17:53 ` Marek Vasut
2014-10-19 23:19 ` Vagrant Cascadian [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lhobr6ju.fsf@aikidev.net \
--to=vagrant@debian.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox