3.3.1. Name and Version

If you do not specify a name and version on the command line, devtool add attempts to determine the name and version of the software being built from various metadata within the source tree. Furthermore, the command sets the name of the created recipe file accordingly. If the name or version cannot be determined, the devtool add command prints an error and you must re-run the command with both the name and version or just the name or version specified.

Sometimes the name or version determined from the source tree might be incorrect. For such a case, you must reset the recipe:

     $ devtool reset -n recipename
            

After running the devtool reset command, you need to run devtool add again and provide the name or the version.