Version Control - 2023.2 English

PetaLinux Tools Documentation: Reference Guide (UG1144)

Document ID
UG1144
Release Date
2023-10-18
Version
2023.2 English

You can have version control over your PetaLinux project directory <plnx-proj-root>, excluding the following:

  • <plnx-proj-root>/.petalinux
  • <plnx-proj-root>/!.petalinux/metadata
  • <plnx-proj-root>/build/
  • <plnx-proj-root>/images/linux
  • <plnx-proj-root>/pre-built/linux
  • <plnx-proj-root>/components/plnx-workspace/
  • <plnx-proj-root>/components/yocto/
  • <plnx-proj-root>/*/*/config.old
  • <plnx-proj-root>/*/*/rootfs_config.old
  • <plnx-proj-root>/*.o
  • <plnx-proj-root>/*.log
  • <plnx-proj-root>/*.jou

By default, these files are added into <plnx-proj-root>/.gitignore while creating the project.

Note: A PetaLinux project should be cleaned using petalinux-build -x mrproper before submitting to the source control.
Note: In concurrent development, TMPDIR in petalinux-config should be unique for each user.