1
0
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:
Ludwig Ortmann 2014-09-27 18:28:56 +02:00
parent 182b603a01
commit 7e123c797d

View File

@ -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)