mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
Fix: ensure archive files do not carry object files from prior builds
This is the corresponding change to the one on main NuttX repo. In this case this involves splitting the build of libapps.a into: a) building all applications (which is safely parallelizable), b) adding each application's object files to the archive in turns (serial by nature). This removes the need for the flock used to protect the parallel build.
This commit is contained in:
parent
52b28ed484
commit
18137c0fec
5 changed files with 19 additions and 17 deletions
|
|
@ -39,7 +39,6 @@ include $(APPDIR)/Make.defs
|
|||
|
||||
SUBDIRS := $(dir $(wildcard *$(DELIM)Makefile))
|
||||
CONFIGSUBDIRS := $(filter-out $(dir $(wildcard *$(DELIM)Kconfig)),$(SUBDIRS))
|
||||
CLEANSUBDIRS := $(dir $(wildcard *$(DELIM).built))
|
||||
CLEANSUBDIRS += $(dir $(wildcard *$(DELIM).depend))
|
||||
CLEANSUBDIRS += $(dir $(wildcard *$(DELIM).kconfig))
|
||||
CLEANSUBDIRS := $(sort $(CLEANSUBDIRS))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue