Commit bafbc89d authored by Daniel Verkamp's avatar Daniel Verkamp
Browse files

build: print path in CC, LINK, and LIB messages



This makes it somewhat clearer what is happening during parallel
builds (make -j).

Change-Id: Ibbe8862da7600e784cba64cd333086f1473455ac
Signed-off-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent dfeacab2
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -105,18 +105,18 @@ DEPFLAGS = -MMD -MP -MF $*.d.tmp

# Compile first input $< (.c) into $@ (.o)
COMPILE_C=\
	$(Q)echo "  CC $@"; \
	$(Q)echo "  CC $S/$@"; \
	$(CC) -o $@ $(DEPFLAGS) $(CFLAGS) -c $< && \
	mv -f $*.d.tmp $*.d

# Link $(OBJS) and $(LIBS) into $@ (app)
LINK_C=\
	$(Q)echo "  LINK $@"; \
	$(Q)echo "  LINK $S/$@"; \
	$(CC) -o $@ $(CPPFLAGS) $(LDFLAGS) $(OBJS) $(LIBS)

# Archive $(OBJS) into $@ (.a)
LIB_C=\
	$(Q)echo "  LIB $@"; \
	$(Q)echo "  LIB $S/$@"; \
	ar crDs $@ $(OBJS)

# Clean up generated files listed as arguments plus a default list