diff --git a/tools/mkkconfig.bat b/tools/mkkconfig.bat index 69082e8c5..cc58b8527 100755 --- a/tools/mkkconfig.bat +++ b/tools/mkkconfig.bat @@ -35,7 +35,7 @@ REM REM Parse command line arguments -SET menu= +SET menu="" SET kconfig=Kconfig :ArgLoop @@ -81,7 +81,7 @@ Echo # see the file kconfig-language.txt in the NuttX tools repository. >> %kcon Echo # >> %kconfig% Echo # This file is autogenerated, do not edit. >> %kconfig% Echo # >> %kconfig% -Echo >> %kconfig% +Echo[ >> %kconfig% IF %menu% NEQ "" ( Echo menu "%menu%" >> %kconfig%