Merge branch 'master' of /home/wd/git/u-boot/custodians
[platform/kernel/u-boot.git] / mkconfig
index f3054ce..db69336 100755 (executable)
--- a/mkconfig
+++ b/mkconfig
@@ -150,11 +150,12 @@ echo "/* Automatically generated - do not edit */" >>config.h
 
 for i in ${TARGETS} ; do
        i="`echo ${i} | sed '/=/ {s/=/\t/;q } ; { s/$/\t1/ }'`"
-       echo "#define CONFIG_MK_${i}" >>config.h ;
+       echo "#define CONFIG_${i}" >>config.h ;
 done
 
 cat << EOF >> config.h
 #define CONFIG_BOARDDIR board/$BOARDDIR
+#include <config_cmd_defaults.h>
 #include <config_defaults.h>
 #include <configs/${CONFIG_NAME}.h>
 #include <asm/config.h>