exars@exars-IStNX3-15HP038:~/workspace/legatoAF/legato-19.11.2/apps/sample/wf200$ mksys -t wp76xx wfx.sdef
** ERROR:
/home/exars/workspace/legatoAF/legato-19.11.2/apps/sample/wf200/wfx.mdef:1:13: error: Unrecognized processing directive ‘#kernelModule’
You can to see here on how to write .mdef file