X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=mkconfig;h=438530b567863c638d4a21fa38ab1688370ec527;hb=510f28cff9906b6a20bf2a434a90268090dd8e5d;hp=ecb6d4ef4f064fd647c06e3bcce7f6ea70ee1107;hpb=1902692aa0b2dcbb9351172be03c57d1e82447e4;p=u-boot diff --git a/mkconfig b/mkconfig index ecb6d4ef4f..438530b567 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