gitignore: ensure some non-generated are included

A normal git clone doesn't catch these, as it _knows_ that the files are
in the git repo and should be tracked.  However, downloading a tarball,
and adding it to a new git repo shows up the problem as important files
are simply not added, and would be dropped by git clean.

Reported-by: https://github.com/libopencm3/libopencm3/issues/1153
master
Karl Palsson 3 years ago
parent 9d15ac7ae7
commit 911d4be35b
  1. 11
      .gitignore

11
.gitignore vendored

@ -7,6 +7,8 @@
*.a
*.elf
lib/*.ld
# (except this one!)
!lib/cortex-m-generic.ld
*.stylecheck
*.swp
\#*
@ -23,11 +25,20 @@ latex/
# These are generated
include/libopencm3/**/nvic.h
include/libopencm3/**/**/nvic.h
# (not these three though...)
!include/libopencm3/cm3/nvic.h
!include/libopencm3/dispatch/nvic.h
!include/libopencm3/lm4f/nvic.h
lib/**/vector_nvic.c
lib/**/**/vector_nvic.c
# (not this one either)
!lib/dispatch/vector_nvic.c
DoxygenLayout.xml
doc/*/Doxyfile
doc/*/DoxygenLayout_*.xml
# (annnd, not these two templates either)
!doc/templates/DoxygenLayout_Device.xml
!doc/templates/DoxygenLayout_Root.xml
doc/*/doxy.sourcelist
include/libopencmsis/efm32/
include/libopencmsis/gd32/

Loading…
Cancel
Save