* [U-Boot] [PATCH] generic-board: make compile-time noise for non-generic boards
@ 2014-10-19 17:46 Masahiro Yamada
2014-10-19 17:53 ` Marek Vasut
2014-10-19 23:19 ` [U-Boot] " Vagrant Cascadian
0 siblings, 2 replies; 3+ messages in thread
From: Masahiro Yamada @ 2014-10-19 17:46 UTC (permalink / raw)
To: u-boot
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 <yamada.m@jp.panasonic.com>
Cc: Tom Rini <trini@ti.com>
Cc: Simon Glass <sjg@chromium.org>
---
Makefile | 6 ++++++
1 file changed, 6 insertions(+)
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
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] generic-board: make compile-time noise for non-generic boards
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 ` [U-Boot] " Vagrant Cascadian
1 sibling, 0 replies; 3+ messages in thread
From: Marek Vasut @ 2014-10-19 17:53 UTC (permalink / raw)
To: u-boot
On Sunday, October 19, 2014 at 07:46:30 PM, 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.
>
> Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
> Cc: Tom Rini <trini@ti.com>
> Cc: Simon Glass <sjg@chromium.org>
By all means,
Acked-by: Marek Vasut <marex@denx.de>
I hope you enjoyed your stay in Germany and had fun. It was really nice
meeting you again :)
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] generic-board: make compile-time noise for non-generic boards
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
1 sibling, 0 replies; 3+ messages in thread
From: Vagrant Cascadian @ 2014-10-19 23:19 UTC (permalink / raw)
To: u-boot
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>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-10-19 23:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [U-Boot] " Vagrant Cascadian
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox