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
This commit is contained in:
parent
9d15ac7ae7
commit
911d4be35b
|
@ -7,6 +7,8 @@
|
||||||
*.a
|
*.a
|
||||||
*.elf
|
*.elf
|
||||||
lib/*.ld
|
lib/*.ld
|
||||||
|
# (except this one!)
|
||||||
|
!lib/cortex-m-generic.ld
|
||||||
*.stylecheck
|
*.stylecheck
|
||||||
*.swp
|
*.swp
|
||||||
\#*
|
\#*
|
||||||
|
@ -23,11 +25,20 @@ latex/
|
||||||
# These are generated
|
# These are generated
|
||||||
include/libopencm3/**/nvic.h
|
include/libopencm3/**/nvic.h
|
||||||
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
|
||||||
lib/**/**/vector_nvic.c
|
lib/**/**/vector_nvic.c
|
||||||
|
# (not this one either)
|
||||||
|
!lib/dispatch/vector_nvic.c
|
||||||
DoxygenLayout.xml
|
DoxygenLayout.xml
|
||||||
doc/*/Doxyfile
|
doc/*/Doxyfile
|
||||||
doc/*/DoxygenLayout_*.xml
|
doc/*/DoxygenLayout_*.xml
|
||||||
|
# (annnd, not these two templates either)
|
||||||
|
!doc/templates/DoxygenLayout_Device.xml
|
||||||
|
!doc/templates/DoxygenLayout_Root.xml
|
||||||
doc/*/doxy.sourcelist
|
doc/*/doxy.sourcelist
|
||||||
include/libopencmsis/efm32/
|
include/libopencmsis/efm32/
|
||||||
include/libopencmsis/gd32/
|
include/libopencmsis/gd32/
|
||||||
|
|
Loading…
Reference in New Issue