summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2009-08-25 15:03:20 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2009-08-25 15:03:20 +0000
commitfe2664a5f244f27fd37b39135b5af734235c0c95 (patch)
tree6b09e5fd3de00cee95770418fcbe5b98e002566f /Makefile
parent20a1ae88404c6ca0e97191516ae9cda440568df5 (diff)
downloadcoreboot-fe2664a5f244f27fd37b39135b5af734235c0c95.tar.xz
Improve build output.
The Makefile prints need to be @printf -- not $(Q)printf -- as they should (1) be printed always (with 'make' _and_ with 'make V=1'), (2) but the printf command itself should not be printed, hence the '@'. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4577 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index e937e7c39b..24ead11807 100644
--- a/Makefile
+++ b/Makefile
@@ -143,49 +143,49 @@ $(eval $(call evaluate_subdirs))
define objs_c_template
$(obj)/$(1)%.o: src/$(1)%.c
- $(Q)printf " CC $$(subst $$(shell pwd)/,,$$(@))\n"
+ @printf " CC $$(subst $$(shell pwd)/,,$$(@))\n"
$(Q)$(CC) -m32 $$(CFLAGS) -c -o $$@ $$<
endef
define objs_S_template
$(obj)/$(1)%.o: src/$(1)%.S
- $(Q)printf " CC $$(subst $$(shell pwd)/,,$$(@))\n"
+ @printf " CC $$(subst $$(shell pwd)/,,$$(@))\n"
$(Q)$(CC) -m32 -DASSEMBLY $$(CFLAGS) -c -o $$@ $$<
endef
define initobjs_c_template
$(obj)/$(1)%.o: src/$(1)%.c
- $(Q)printf " CC $$(subst $$(shell pwd)/,,$$(@))\n"
+ @printf " CC $$(subst $$(shell pwd)/,,$$(@))\n"
$(Q)$(CC) -m32 $$(CFLAGS) -c -o $$@ $$<
endef
define initobjs_S_template
$(obj)/$(1)%.o: src/$(1)%.S
- $(Q)printf " CC $$(subst $$(shell pwd)/,,$$(@))\n"
+ @printf " CC $$(subst $$(shell pwd)/,,$$(@))\n"
$(Q)$(CC) -m32 -DASSEMBLY $$(CFLAGS) -c -o $$@ $$<
endef
define drivers_c_template
$(obj)/$(1)%.o: src/$(1)%.c
- $(Q)printf " CC $$(subst $$(shell pwd)/,,$$(@))\n"
+ @printf " CC $$(subst $$(shell pwd)/,,$$(@))\n"
$(Q)$(CC) -m32 $$(CFLAGS) -c -o $$@ $$<
endef
define drivers_S_template
$(obj)/$(1)%.o: src/$(1)%.S
- $(Q)printf " CC $$(subst $$(shell pwd)/,,$$(@))\n"
+ @printf " CC $$(subst $$(shell pwd)/,,$$(@))\n"
$(Q)$(CC) -m32 -DASSEMBLY $$(CFLAGS) -c -o $$@ $$<
endef
define smmobjs_c_template
$(obj)/$(1)%.o: src/$(1)%.c
- $(Q)printf " CC $$(subst $$(shell pwd)/,,$$(@))\n"
+ @printf " CC $$(subst $$(shell pwd)/,,$$(@))\n"
$(Q)$(CC) -m32 $$(CFLAGS) -c -o $$@ $$<
endef
define smmobjs_S_template
$(obj)/$(1)%.o: src/$(1)%.S
- $(Q)printf " CC $$(subst $$(shell pwd)/,,$$(@))\n"
+ @printf " CC $$(subst $$(shell pwd)/,,$$(@))\n"
$(Q)$(CC) -m32 $$(CFLAGS) -c -o $$@ $$<
endef
@@ -246,7 +246,7 @@ prepare:
$(Q)test -n "$(alldirs)" && mkdir -p $(alldirs) || true
prepare2:
- $(Q)printf " GEN $(subst $(shell pwd)/,,$(obj)/build.h)\n"
+ @printf " GEN $(subst $(shell pwd)/,,$(obj)/build.h)\n"
$(Q)printf "#define COREBOOT_VERSION \"$(KERNELVERSION)\"\n" > $(obj)/build.h
$(Q)printf "#define COREBOOT_EXTRA_VERSION \"$(COREBOOT_EXTRA_VERSION)\"\n" >> $(obj)/build.h
$(Q)printf "#define COREBOOT_V2 \"$(COREBOOT_V2)\"\n" >> $(obj)/build.h
@@ -292,7 +292,7 @@ $(obj)/ldoptions: $(obj)/config.h
$(Q)awk '/^#define ([^"])* ([^"])*$$/ {print $$2 " = " $$3 ";";}' $< > $@
$(obj)/romcc: $(top)/util/romcc/romcc.c
- $(Q)printf " HOSTCC romcc"
+ @printf " HOSTCC romcc"
$(HOSTCC) -g -O2 -Wall -o $@ $<
.PHONY: $(PHONY) prepare prepare2 clean distclean doxygen doxy coreboot