merge all gitignore files to one

This commit is contained in:
2023-03-20 00:27:17 +08:00
parent 121e74a1da
commit a5ea6b4009
+99
View File
@@ -0,0 +1,99 @@
################################################################################
########################## Basic Directory Structure ###########################
################################################################################
# everything
/*
# exclude the directory structure
!/adi_library/
!/common/
!/modules/
!/projects/
!/template/
!/.gitignore
!/README.md
################################################################################
############################# Vivado & SDK Common ##############################
################################################################################
# folders (and all of their contents) that should always be ignored, anywhere
# in the repo
.Xil/
# file patterns that should always be ignored (journal files, log files, dump
# files that are created upon Vivado/SDK errors)
*.jou
*.log
*.backup.jou
*.backup.log
*.upgrade_log
*.dmp
vivado_pid*
*~
################################################################################
############################### Modules Specific ###############################
################################################################################
# exclude project dir expect project tcl
/modules/*/*/project/*/*
!/modules/*/*/project/*/*.tcl
################################################################################
############################### Project Specific ###############################
################################################################################
# ------------------------------------------------------------------------------
# ------------------------------ Vivado Specific -------------------------------
# ------------------------------------------------------------------------------
# exclude project dir except project tcl
/projects/*/*/project/*/*
!/projects/*/*/project/*/*.tcl
# include hardware manager projects and sources
!/projects/*/*/project/*/*.hw/
# include design run results
!/projects/*/*/project/*/*.runs/
/projects/*/*/project/*/*.runs/*
!/projects/*/*/project/*/*.runs/impl_*/
/projects/*/*/project/*/*.runs/impl_*/*
!/projects/*/*/project/*/*.runs/impl_*/*.bit
!/projects/*/*/project/*/*.runs/impl_*/*.ltx
# ------------------------------------------------------------------------------
# -------------------------------- SDK Specific --------------------------------
# ------------------------------------------------------------------------------
# include sdk dir except project tcl
!/projects/*/*/project/*/*.sdk/
# exclude some obscure hidden SDK folders
/projects/*/*/project/*/*.sdk/.metadata/
/projects/*/*/project/*/*.sdk/.sdk/
/projects/*/*/project/*/*.sdk/RemoteSystemsTempFiles/
/projects/*/*/project/*/*.sdk/webtalk/
# hw_platform: exclude the entire hw_platform folder, as everything can be
# generated from the .hdf file. Make sure to include the bitstream in the .hdf
# file when exporting from Vivado!
/projects/*/*/project/*/*.sdk/*_hw_platform_*/
# BSP: only keep `.cproject`, `.project`, `.sdkproject`, `.system.mss` and
# Makefile, ps lib files are regenerated automatically
/projects/*/*/project/*/*.sdk/*_bsp/*
!/projects/*/*/project/*/*.sdk/*_bsp/*.cproject
!/projects/*/*/project/*/*.sdk/*_bsp/*.project
!/projects/*/*/project/*/*.sdk/*_bsp/*.sdkproject
!/projects/*/*/project/*/*.sdk/*_bsp/system.mss
!/projects/*/*/project/*/*.sdk/*_bsp/Makefile
# Application: ignored file patterns, exclude Debug & Release folders
/projects/*/*/project/*/*.sdk/**/*.o
/projects/*/*/project/*/*.sdk/**/*.d
/projects/*/*/project/*/*.sdk/**/*.a
/projects/*/*/project/*/*.sdk/*/Debug/
/projects/*/*/project/*/*.sdk/*/Release/