X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=mkconfig;h=438530b567863c638d4a21fa38ab1688370ec527;hb=fda241d59d12381493f31e38f94a2057a955ec94;hp=ecb6d4ef4f064fd647c06e3bcce7f6ea70ee1107;hpb=0886eef9ba25b9e8da4bbaefc1a0b6da7a9567dc;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