11.07.2015 Views

CrossWorks for ARM User Guide

CrossWorks for ARM User Guide

CrossWorks for ARM User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

32mkpkg - package creatorTo create a package the program mkpkg can be used. The set of files to put into thepackage should be in the desired location in the $(StudioDir) directory. The mkpkgcommand should be run with $(StudioDir) as the working directory and all files to gointo the package must be refered to using relative paths. A package must have apackage description file that is placed in the $(StudioDir)/packages directory. Thepackage description file name must end with_package.xml. If a package is to createentries in the new project wizard then it must have a file nameproject_templates.xml.For example a package MyNewTarget would supply the following files.•A Project Templates file <strong>for</strong>mat (page 341) file calledtargets/MyNewTarget/project_templates.xml.•The $(StudioDir) relative files that define the functionality of the package.•A package description file called packages/MyNewTarget_package.xml.The package file MyNewTarget.hzq would be created using the following commandlinemkpkg -c packages/MyNewTarget.hzq targets/MyNewTarget/project_templates.xm.. packages/MyNewTarget_package.xmlYou can list the contents of the package using the -t optionmkpkg -t packages/MyNewTarget.hzqYou can remove an entry from a package using the -d optionmkpkg -d packages/MyNewTarget.hzq -d fileToRemove

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!