X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=mkconfig;h=daa1810e72f18726e3bded96d82a61c0784c3012;hb=a2277e84036fb22aac44e83a391431539086f110;hp=ecb6d4ef4f064fd647c06e3bcce7f6ea70ee1107;hpb=0886eef9ba25b9e8da4bbaefc1a0b6da7a9567dc;p=karo-tx-uboot.git diff --git a/mkconfig b/mkconfig index ecb6d4ef4f..daa1810e72 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 @@ -158,6 +167,7 @@ cat << EOF >> config.h #include #include #include +#include EOF exit 0