All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] mkconfig: start deprecating Makefile config targets
@ 2011-09-18  5:29 Mike Frysinger
  2011-09-19 13:07 ` Peter Korsgaard
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Mike Frysinger @ 2011-09-18  5:29 UTC (permalink / raw)
  To: u-boot

Now that we've got boards.cfg and most people have converted over,
start warning people who have yet to so we can phase board configs
completely out of the Makefile.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 mkconfig |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/mkconfig b/mkconfig
index ecb6d4e..6a60849 100755
--- a/mkconfig
+++ b/mkconfig
@@ -29,6 +29,15 @@ if [ \( $# -eq 2 \) -a \( "$1" = "-A" \) ] ; then
 	set ${line}
 	# add default board name if needed
 	[ $# = 3 ] && set ${line} ${1}
+elif [ "${MAKEFLAGS+set}${MAKELEVEL+set}" = "setset" ] ; then
+	# only warn when using a config target in the Makefile
+	cat <<-EOF
+
+	warning: Please migrate to boards.cfg.  Failure to do so will
+	         mean removal of your board board in the next release.
+
+	EOF
+	sleep 5
 fi
 
 while [ $# -gt 0 ] ; do
-- 
1.7.6

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-10-05 18:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-18  5:29 [U-Boot] [PATCH] mkconfig: start deprecating Makefile config targets Mike Frysinger
2011-09-19 13:07 ` Peter Korsgaard
2011-09-19 14:05 ` [U-Boot] [PATCH v2] " Mike Frysinger
2011-09-19 14:14   ` Wolfgang Denk
2011-09-19 14:36     ` Mike Frysinger
2011-09-26 18:21       ` Wolfgang Denk
2011-10-01 20:15 ` [U-Boot] [PATCH v3] " Mike Frysinger
2011-10-05 18:59   ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.