]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Simplify build messages
authorOndrej Zajicek <santiago@crfreenet.org>
Sat, 18 Jul 2015 21:15:04 +0000 (23:15 +0200)
committerOndrej Zajicek <santiago@crfreenet.org>
Sat, 18 Jul 2015 21:15:04 +0000 (23:15 +0200)
Thanks to Christian Tacke for the original patch.

tools/Makefile.in
tools/Rules.in

index 062ba916170d073a6aad1d0ecdedeefd7892b4b1..01bb7a7c1459bbbf12ba670baaf1af8e3c5cf956 100644 (file)
@@ -37,13 +37,16 @@ subdir: sysdep/paths.h .dir-stamp .dep-stamp
        set -e ; for a in $(static-dirs) $(client-dirs) ; do $(MAKE) -C $$a -f $(srcdir_abs)/$$a/Makefile $@ ; done
 
 $(exedir)/bird: $(bird-dep)
-       $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
+       @echo LD $(LDFLAGS) -o $@ $^ $(LIBS)
+       @$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
 
 $(exedir)/birdc: $(birdc-dep)
-       $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) $(CLIENT_LIBS)
+       @echo LD $(LDFLAGS) -o $@ $^ $(LIBS) $(CLIENT_LIBS)
+       @$(CC) $(LDFLAGS) -o $@ $^ $(LIBS) $(CLIENT_LIBS)
 
 $(exedir)/birdcl: $(birdcl-dep)
-       $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
+       @echo LD $(LDFLAGS) -o $@ $^ $(LIBS)
+       @$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
 
 .dir-stamp: sysdep/paths.h
        mkdir -p $(static-dirs) $(client-dirs) $(doc-dirs)
index ca930ec8f24a826e0ddb63cc15a72ad5c230cc21..f00c85d1e95bcf2acb8289e3b693a1193f25b421 100644 (file)
@@ -68,12 +68,14 @@ subdir: all.o
 all.o: $(objs)
 #       $(LD) -r -o $@ $^
 #      Changed to $(CC) because $(LD) has problems with crosscompiling
-       $(CC) -nostdlib -r -o $@ $^
+       @echo LD -r -o $@ $^
+       @$(CC) -nostdlib -r -o $@ $^
 
 endif
 
 %.o: $(src-path)%.c
-       $(CC) $(CFLAGS) -o $@ -c $<
+       @echo CC -o $@ -c $<
+       @$(CC) $(CFLAGS) -o $@ -c $<
 
 ifndef source-dep
 source-dep := $(source)