edktool Command-Line Tool > Command-Line Examples > Compile Grammars

Compile Grammars
edktool c mygrammar.xml
Compiles mygrammar.xml into mygrammar.ecr.
edktool c -i mygrammar.xml -e common/places,common/things -o compiledgrammar.ecr
Compiles the entities common/places and common/things in mygrammar.xml into compiledgrammar.ecr.