nuttx/Documentation
Matias N 34b34e2d45 Fix: ensure archive files do not carry object files from prior builds
In some cases, when NuttX configuration changes and this makes the
object list used to build one of the .a libraries change as well,
since the command used to build it is "ar crs" and this simply appends
the list of object files, the library could still include object
files from prior builds. This commit modifies the ARCHIVE macro to
erase the .a file if it already exists.

Since in some cases this behavior was actually expected (object
files from a subdirectory were appended to a library created one
level above) I added a ARCHIVE_ADD which works as ARCHIVE did.

This change should greatly improve behavior of building after
configuration changes.
2020-09-14 15:54:18 +08:00
..
_static documentation: work on quickstart, add tabs sphinx extension 2020-09-12 19:28:24 -07:00
_templates documentation: add license headers to various files 2020-08-24 10:29:55 -07:00
applications convert TODOs to actual TODO banner and improve general presentation of different sections 2020-08-24 10:29:55 -07:00
boards convert TODOs to actual TODO banner and improve general presentation of different sections 2020-08-24 10:29:55 -07:00
components libc/stdio: Allocate file_struct dynamically 2020-09-11 17:58:17 +08:00
contributing documentation: work on quickstart, add tabs sphinx extension 2020-09-12 19:28:24 -07:00
guides fix bugs in quickstart docs 2020-09-06 22:28:32 +01:00
introduction Docs: Update links to old website and wiki 2020-08-30 19:16:30 -03:00
quickstart Fix: ensure archive files do not carry object files from prior builds 2020-09-14 15:54:18 +08:00
reference documentation: address various duplicate declarations 2020-09-02 16:00:08 +08:00
releases complete improving presentation of sections 2020-08-24 10:29:55 -07:00
.gitignore doc: add .python-version to .gitignore 2020-08-25 12:54:24 -07:00
conf.py documentation: work on quickstart, add tabs sphinx extension 2020-09-12 19:28:24 -07:00
glossary.rst rename doc/ -> Documentation/ 2020-08-24 10:29:55 -07:00
index.rst convert INVIOLABLES.txt to markdown, add to docs 2020-08-25 16:03:42 -07:00
make.bat rename doc/ -> Documentation/ 2020-08-24 10:29:55 -07:00
Makefile Documentation: build documentation using sphinx -j option which parallelizes jobs 2020-09-12 00:43:22 +08:00
Pipfile documentation: work on quickstart, add tabs sphinx extension 2020-09-12 19:28:24 -07:00
Pipfile.lock documentation: work on quickstart, add tabs sphinx extension 2020-09-12 19:28:24 -07:00
substitutions.rst rename doc/ -> Documentation/ 2020-08-24 10:29:55 -07:00