[PATCH 3/6] Print all compiler and linker invocations

Timo Juhani Lindfors timo.lindfors at iki.fi
Fri Nov 4 15:22:42 CET 2011


This is mostly needed since Debian policy is probably in the future
going to require build logs that show what flags have been passed to
compiler and linker. If needed, we can add support for V=1 flag in the
future.
---
 Makefile |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/Makefile b/Makefile
index 5f4e779..c254b83 100644
--- a/Makefile
+++ b/Makefile
@@ -63,10 +63,10 @@ UDFU_IMAGE = $(IMAGE_DIR)/qi-$(CPU)-$(BUILD_VERSION).udfu
 MKUDFU = $(TOOLS)/mkudfu
 
 %.o: %.S
-	@$(CC) $(CFLAGS) -o $@ $<
+	$(CC) $(CFLAGS) -o $@ $<
 
 %.o: %.c
-	@$(CC) $(CFLAGS) -o $@ $<
+	$(CC) $(CFLAGS) -o $@ $<
 
 all:${UDFU_IMAGE}
 
@@ -77,11 +77,11 @@ ${MKUDFU}:
 
 ${UDFU_IMAGE}:${OBJS} ${MKUDFU}
 	mkdir -p image
-	@$(LD) ${LDFLAGS} -T$(LDS) -g $(OBJS) -o ${TARGET} ${LIBS}
-	@$(OBJCOPY) -O binary -S ${TARGET} ${IMAGE}
-	@$(MKUDFU) -v ${UDFU_VID} -p ${UDFU_PID} -r ${UDFU_REV} \
+	$(LD) ${LDFLAGS} -T$(LDS) -g $(OBJS) -o ${TARGET} ${LIBS}
+	$(OBJCOPY) -O binary -S ${TARGET} ${IMAGE}
+	$(MKUDFU) -v ${UDFU_VID} -p ${UDFU_PID} -r ${UDFU_REV} \
 						-d ${IMAGE} ${UDFU_IMAGE}
-	@$(OBJDUMP) -d ${TARGET} >${IMAGE}.dis
+	$(OBJDUMP) -d ${TARGET} >${IMAGE}.dis
 
 clean:
 	@rm -f *~ src/*.o src/*~
-- 
1.7.2.5




More information about the openmoko-kernel mailing list