mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
make: optimize archive creation/modification
Only add/replace changed members to the archive.
This commit is contained in:
parent
182b603a01
commit
7e123c797d
@ -49,7 +49,7 @@ $(BINDIR)$(MODULE)/:
|
||||
$(BINDIR)$(MODULE).a $(OBJ): | $(BINDIR)$(MODULE)/
|
||||
|
||||
$(BINDIR)$(MODULE).a: $(OBJ) | ${DIRS:%=ALL--%}
|
||||
$(AD)$(AR) -rcs $@ $(OBJ)
|
||||
$(AD)$(AR) -rcs $@ $?
|
||||
|
||||
|
||||
CXXFLAGS = $(filter-out $(CXXUWFLAGS), $(CFLAGS)) $(CXXEXFLAGS)
|
||||
|
Loading…
Reference in New Issue
Block a user