build: refine .gitignore rules for tools directory

Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
EnderIce2 2025-01-13 16:47:15 +02:00
parent 3fa7acb116
commit c09bdee89a
No known key found for this signature in database
GPG Key ID: 2EE20AF089811A5A
2 changed files with 12 additions and 14 deletions

14
.gitignore vendored
View File

@ -2,20 +2,6 @@ iso_tmp_data
initrd_tmp_data
initrd/usr/include/*
!initrd/usr/include/.gitkeep
tools/*
!tools/ExtMemDbg
!tools/stage2_eltorito
!tools/*.md
!tools/README.md
!tools/website
!tools/Makefile
!tools/*.c
!tools/*.patch
!tools/*.cpp
!tools/*.cfg
!tools/acpi
!tools/doxygen
!tools/.gdbinit
doxygen-doc
initrd.tar
.dccache

12
tools/.gitignore vendored Normal file
View File

@ -0,0 +1,12 @@
*
!/acpi
!/doxygen
!/website
!/Makefile
!/.gdbinit
!/*.c
!/*.cpp
!/*.cfg
!/*.md
!/*.patch
!/*.gitignore