summaryrefslogtreecommitdiff
path: root/mkconfig
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-10-01 10:15:04 +0000
committerWolfgang Denk <wd@denx.de>2011-10-05 22:22:15 +0200
commit1285a2808a254f3d1a809c1a541f0c0f746e03d7 (patch)
tree330ccb811d4cd1d7893146eb33d1c0024e0153b0 /mkconfig
parent476af299b04ef07117bbc3cdef07885e1089967e (diff)
downloadu-boot-imx-1285a2808a254f3d1a809c1a541f0c0f746e03d7.zip
u-boot-imx-1285a2808a254f3d1a809c1a541f0c0f746e03d7.tar.gz
u-boot-imx-1285a2808a254f3d1a809c1a541f0c0f746e03d7.tar.bz2
mkconfig: start deprecating Makefile config targets
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>
Diffstat (limited to 'mkconfig')
-rwxr-xr-xmkconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/mkconfig b/mkconfig
index ecb6d4e..438530b 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 in the next release.
+
+ EOF
+ sleep 5
fi
while [ $# -gt 0 ] ; do