From 8075f76708323eed96e8fe0a3577aaf5c22fe74d Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Fri, 12 May 2023 13:53:03 +0200 Subject: [PATCH] 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 --- .gitignore | 3 +++ 3rdparty/everest/.gitignore | 1 - library/.gitignore | 1 - programs/.gitignore | 3 --- tests/.gitignore | 3 --- 5 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 8824ecea0..288c71b13 100644 --- a/.gitignore +++ b/.gitignore @@ -28,6 +28,9 @@ massif-* .project /.settings +# Unix-like build artifacts: +*.o + # MSVC build artifacts: *.exe *.pdb diff --git a/3rdparty/everest/.gitignore b/3rdparty/everest/.gitignore index 6eb25f66a..f3c7a7c5d 100644 --- a/3rdparty/everest/.gitignore +++ b/3rdparty/everest/.gitignore @@ -1,2 +1 @@ -*.o Makefile diff --git a/library/.gitignore b/library/.gitignore index 18cd305eb..b4dc91891 100644 --- a/library/.gitignore +++ b/library/.gitignore @@ -1,4 +1,3 @@ -*.o libmbed* *.sln *.vcxproj diff --git a/programs/.gitignore b/programs/.gitignore index 398152dcb..d11db9e6b 100644 --- a/programs/.gitignore +++ b/programs/.gitignore @@ -9,9 +9,6 @@ /psa/psa_constant_names_generated.c /test/query_config.c -*.o -*.exe - aes/crypt_and_hash cipher/cipher_aead_demo hash/generic_sum diff --git a/tests/.gitignore b/tests/.gitignore index 40ad061c9..6db65d1d3 100644 --- a/tests/.gitignore +++ b/tests/.gitignore @@ -17,9 +17,6 @@ include/alt-extra/psa/crypto_platform_alt.h include/alt-extra/psa/crypto_struct_alt.h include/test/instrument_record_status.h -src/*.o -src/test_helpers/*.o -src/drivers/*.o src/libmbed* libtestdriver1/*