Ignore generated files under crypto/ from crypto/.gitignore

In /crypto/.gitignore, list files that are generated by a build done
under /crypto/. In the outer /.gitignore, list files under /crypto/
only if they are created by the export process.

This commit slightly refines both lists and adds some build products
to /crypto/.gitignore.
This commit is contained in:
Gilles Peskine 2018-10-22 19:26:38 +02:00
parent 6dee5c9649
commit 9ba61d0ce5
2 changed files with 17 additions and 5 deletions

11
.gitignore vendored
View file

@ -30,12 +30,13 @@ massif-*
# Exported Mbed Crypto files
crypto/LICENSE
crypto/VERSION.txt
crypto/include
crypto/include/mbedcrypto/*.h
crypto/include/psa/*.h
crypto/library/*.c
crypto/library/libmbedcrypto*
crypto/programs/psa/*.c
crypto/programs/psa/*.sh
crypto/scripts
crypto/tests/scripts
crypto/tests/suites
crypto/tests/test_suite*
crypto/programs/psa
crypto/tests/suites/*.data
crypto/tests/suites/*.function
mbedcrypto.tar.gz

11
crypto/.gitignore vendored
View file

@ -1,2 +1,13 @@
*.exe
*.o
*.obj
/docs/*.pdf
/docs/html
/library/libmbedcrypto*.a
/library/libmbedcrypto*.dll
/library/libmbedcrypto*.so
/library/libmbedcrypto*.so.[0-9]*
/programs/psa/crypto_examples
/programs/psa/key_ladder_demo
/programs/psa/psa_constant_names
/tests/test_suite_*