Ignore *.o everywhere

We don't commit *.o files anywhere, not even as test data. So ignore them
everywhere.

This resolves *.o files not being ignored under 3rdparty/p256-m.

Also remove a redundant ignore of *.exe in a subdirectory.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine 2023-05-12 13:53:03 +02:00
parent 501fb3abf3
commit 8075f76708
5 changed files with 3 additions and 8 deletions

3
.gitignore vendored
View file

@ -28,6 +28,9 @@ massif-*
.project .project
/.settings /.settings
# Unix-like build artifacts:
*.o
# MSVC build artifacts: # MSVC build artifacts:
*.exe *.exe
*.pdb *.pdb

View file

@ -1,2 +1 @@
*.o
Makefile Makefile

1
library/.gitignore vendored
View file

@ -1,4 +1,3 @@
*.o
libmbed* libmbed*
*.sln *.sln
*.vcxproj *.vcxproj

3
programs/.gitignore vendored
View file

@ -9,9 +9,6 @@
/psa/psa_constant_names_generated.c /psa/psa_constant_names_generated.c
/test/query_config.c /test/query_config.c
*.o
*.exe
aes/crypt_and_hash aes/crypt_and_hash
cipher/cipher_aead_demo cipher/cipher_aead_demo
hash/generic_sum hash/generic_sum

3
tests/.gitignore vendored
View file

@ -17,9 +17,6 @@ include/alt-extra/psa/crypto_platform_alt.h
include/alt-extra/psa/crypto_struct_alt.h include/alt-extra/psa/crypto_struct_alt.h
include/test/instrument_record_status.h include/test/instrument_record_status.h
src/*.o
src/test_helpers/*.o
src/drivers/*.o
src/libmbed* src/libmbed*
libtestdriver1/* libtestdriver1/*