summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@coresystems.de>2009-08-25 19:38:46 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2009-08-25 19:38:46 +0000
commit2b7418ecc6f0c42b5ab6ebccb1a33d1422040404 (patch)
tree39ebe646270f67b8225f8054e0fc751689d5b9cf /util
parent698c0e0e5aa0492ce9ecedce787d452e87adc6eb (diff)
Use the gnu make .SILENT: mechanism instead of requiring
$(Q) in front of every silent line. make V=1 or make Q="" still make make noisy again. Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4581 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util')
-rw-r--r--util/cbfstool/Makefile.inc12
-rw-r--r--util/cbfstool/tools/Makefile.inc12
-rw-r--r--util/cbfstool/tools/lzma/Makefile.inc32
-rw-r--r--util/kconfig/Makefile78
4 files changed, 67 insertions, 67 deletions
diff --git a/util/cbfstool/Makefile.inc b/util/cbfstool/Makefile.inc
index 806088a83d..c93e1ca923 100644
--- a/util/cbfstool/Makefile.inc
+++ b/util/cbfstool/Makefile.inc
@@ -18,16 +18,16 @@ cbfsobj += fs.o
cbfsinc := cbfstool.h cbfs.h
$(obj)/util/cbfstool:
- $(Q)mkdir -p $@
- $(Q)mkdir -p $@/tools/lzma
+ mkdir -p $@
+ mkdir -p $@/tools/lzma
$(obj)/util/cbfstool/%.o: $(top)/util/cbfstool/%.c
- $(Q)printf " HOSTCC $(subst $(obj)/,,$(@))\n"
- $(Q)$(HOSTCC) $(HOSTCFLAGS) -c -o $@ $<
+ printf " HOSTCC $(subst $(obj)/,,$(@))\n"
+ $(HOSTCC) $(HOSTCFLAGS) -c -o $@ $<
$(obj)/util/cbfstool/cbfstool: $(obj)/util/cbfstool $(obj)/util/cbfstool/tools/cbfs-mkpayload $(obj)/util/cbfstool/tools/cbfs-mkstage $(addprefix $(obj)/util/cbfstool/,$(cbfsobj))
- $(Q)printf " HOSTCC $(subst $(obj)/,,$(@)) (link)\n"
- $(Q)$(HOSTCC) -o $@ $(addprefix $(obj)/util/cbfstool/,$(cbfsobj))
+ printf " HOSTCC $(subst $(obj)/,,$(@)) (link)\n"
+ $(HOSTCC) -o $@ $(addprefix $(obj)/util/cbfstool/,$(cbfsobj))
endif
diff --git a/util/cbfstool/tools/Makefile.inc b/util/cbfstool/tools/Makefile.inc
index 4aed0c4888..0ef79ea438 100644
--- a/util/cbfstool/tools/Makefile.inc
+++ b/util/cbfstool/tools/Makefile.inc
@@ -9,15 +9,15 @@ COMMON = common.o compress.o $(LZMA_OBJ)
ifdef POST_EVALUATION
$(tobj)/cbfs-mkstage: $(tobj)/cbfs-mkstage.o $(patsubst %,$(tobj)/%,$(COMMON))
- $(Q)printf " HOSTCXX $(subst $(obj)/,,$(@)) (link)\n"
- $(Q)$(HOSTCXX) $(HOSTCXXFLAGS) -o $@ $^
+ printf " HOSTCXX $(subst $(obj)/,,$(@)) (link)\n"
+ $(HOSTCXX) $(HOSTCXXFLAGS) -o $@ $^
$(tobj)/cbfs-mkpayload: $(tobj)/cbfs-mkpayload.o $(patsubst %,$(tobj)/%,$(COMMON))
- $(Q)printf " HOSTCXX $(subst $(obj)/,,$(@)) (link)\n"
- $(Q)$(HOSTCXX) $(HOSTCFLAGS) -o $@ $^
+ printf " HOSTCXX $(subst $(obj)/,,$(@)) (link)\n"
+ $(HOSTCXX) $(HOSTCFLAGS) -o $@ $^
$(tobj)/%.o: $(tsrc)/%.c
- $(Q)printf " HOSTCC $(subst $(obj)/,,$(@))\n"
- $(Q)$(HOSTCC) $(HOSTCFLAGS) -c -o $@ $<
+ printf " HOSTCC $(subst $(obj)/,,$(@))\n"
+ $(HOSTCC) $(HOSTCFLAGS) -c -o $@ $<
endif
diff --git a/util/cbfstool/tools/lzma/Makefile.inc b/util/cbfstool/tools/lzma/Makefile.inc
index 1a0d276487..0dcec63e5f 100644
--- a/util/cbfstool/tools/lzma/Makefile.inc
+++ b/util/cbfstool/tools/lzma/Makefile.inc
@@ -26,35 +26,35 @@ LZMA_OBJ += lzma/lzma-compress.o
ifdef POST_EVALUATION
$(tobj)/lzma/lzma-compress.o: $(tsrc)/lzma/minilzma.cc
- $(Q)printf " HOSTCXX $(subst $(obj)/,,$(@))\n"
- $(Q)$(HOSTCXX) $(HOSTCXXFLAGS) -o $@ -c -DCOMPACT $<
+ printf " HOSTCXX $(subst $(obj)/,,$(@))\n"
+ $(HOSTCXX) $(HOSTCXXFLAGS) -o $@ -c -DCOMPACT $<
$(tobj)/lzma/%.o: $(tsrc)/lzma/C/7zip/Compress/LZMA/%.cpp
- $(Q)printf " HOSTCXX $(subst $(obj)/,,$(@))\n"
- $(Q)$(HOSTCXX) $(HOSTCXXFLAGS) -o $@ -c $<
+ printf " HOSTCXX $(subst $(obj)/,,$(@))\n"
+ $(HOSTCXX) $(HOSTCXXFLAGS) -o $@ -c $<
$(tobj)/lzma/%.o: $(tsrc)/lzma/C/7zip/Compress/LZ/%.cpp
- $(Q)printf " HOSTCXX $(subst $(obj)/,,$(@))\n"
- $(Q)$(HOSTCXX) $(HOSTCXXFLAGS) -o $@ -c $<
+ printf " HOSTCXX $(subst $(obj)/,,$(@))\n"
+ $(HOSTCXX) $(HOSTCXXFLAGS) -o $@ -c $<
$(tobj)/lzma/%.o: $(tsrc)/lzma/C/7zip/Compress/RangeCoder/%.cpp
- $(Q)printf " HOSTCXX $(subst $(obj)/,,$(@))\n"
- $(Q)$(HOSTCXX) $(HOSTCXXFLAGS) -o $@ -c $<
+ printf " HOSTCXX $(subst $(obj)/,,$(@))\n"
+ $(HOSTCXX) $(HOSTCXXFLAGS) -o $@ -c $<
$(tobj)/lzma/%.o: $(tsrc)/lzma/C/7zip/Decompress/%.cpp
- $(Q)printf " HOSTCXX $(subst $(obj)/,,$(@))\n"
- $(Q)$(HOSTCXX) $(HOSTCXXFLAGS) -o $@ -c $<
+ printf " HOSTCXX $(subst $(obj)/,,$(@))\n"
+ $(HOSTCXX) $(HOSTCXXFLAGS) -o $@ -c $<
$(tobj)/lzma/%.o: $(tsrc)/lzma/C/7zip/Common/%.cpp
- $(Q)printf " HOSTCXX $(subst $(obj)/,,$(@))\n"
- $(Q)$(HOSTCXX) $(HOSTCXXFLAGS) -o $@ -c $<
+ printf " HOSTCXX $(subst $(obj)/,,$(@))\n"
+ $(HOSTCXX) $(HOSTCXXFLAGS) -o $@ -c $<
$(tobj)/lzma/%.o: $(tsrc)/lzma/C/Common/%.cpp
- $(Q)printf " HOSTCXX $(subst $(obj)/,,$(@))\n"
- $(Q)$(HOSTCXX) $(HOSTCXXFLAGS) -o $@ -c $<
+ printf " HOSTCXX $(subst $(obj)/,,$(@))\n"
+ $(HOSTCXX) $(HOSTCXXFLAGS) -o $@ -c $<
$(tobj)/lzma/%.o: $(tsrc)/lzma/%.cc
- $(Q)printf " HOSTCXX $(subst $(obj)/,,$(@))\n"
- $(Q)$(HOSTCXX) $(HOSTCXXFLAGS) -o $@ -c $<
+ printf " HOSTCXX $(subst $(obj)/,,$(@))\n"
+ $(HOSTCXX) $(HOSTCXXFLAGS) -o $@ -c $<
endif
diff --git a/util/kconfig/Makefile b/util/kconfig/Makefile
index 266586e4dd..4879b25c5a 100644
--- a/util/kconfig/Makefile
+++ b/util/kconfig/Makefile
@@ -7,72 +7,72 @@ PHONY += oldconfig xconfig gconfig menuconfig config silentoldconfig update-po-c
Kconfig := src/Kconfig
xconfig: prepare $(objk)/qconf
- $(Q)$(objk)/qconf $(Kconfig)
+ $(objk)/qconf $(Kconfig)
gconfig: prepare $(objk)/gconf
- $(Q)$(objk)/gconf $(Kconfig)
+ $(objk)/gconf $(Kconfig)
menuconfig: prepare $(objk)/mconf
- $(Q)$(objk)/mconf $(Kconfig)
+ $(objk)/mconf $(Kconfig)
config: prepare $(objk)/conf
- $(Q)$(objk)/conf $(Kconfig)
+ $(objk)/conf $(Kconfig)
oldconfig: prepare $(objk)/conf
- $(Q)$(objk)/conf -o $(Kconfig)
+ $(objk)/conf -o $(Kconfig)
silentoldconfig: prepare $(objk)/conf
- $(Q)$(objk)/conf -s $(Kconfig)
+ $(objk)/conf -s $(Kconfig)
# --- UNUSED, ignore ----------------------------------------------------------
# Create new linux.pot file
# Adjust charset to UTF-8 in .po file to accept UTF-8 in Kconfig files
# The symlink is used to repair a deficiency in arch/um
update-po-config: $(obj)/kxgettext $(obj)/gconf.glade.h
- $(Q)echo " GEN config"
- $(Q)xgettext --default-domain=linux \
+ echo " GEN config"
+ xgettext --default-domain=linux \
--add-comments --keyword=_ --keyword=N_ \
--from-code=UTF-8 \
--files-from=scripts/kconfig/POTFILES.in \
--output $(obj)/config.pot
- $(Q)sed -i s/CHARSET/UTF-8/ $(obj)/config.pot
- $(Q)ln -fs Kconfig.i386 arch/um/Kconfig.arch
- $(Q)(for i in `ls arch/`; \
+ sed -i s/CHARSET/UTF-8/ $(obj)/config.pot
+ ln -fs Kconfig.i386 arch/um/Kconfig.arch
+ (for i in `ls arch/`; \
do \
echo " GEN $$i"; \
$(obj)/kxgettext arch/$$i/Kconfig \
>> $(obj)/config.pot; \
done )
- $(Q)msguniq --sort-by-file --to-code=UTF-8 $(obj)/config.pot \
+ msguniq --sort-by-file --to-code=UTF-8 $(obj)/config.pot \
--output $(obj)/linux.pot
- $(Q)rm -f arch/um/Kconfig.arch
- $(Q)rm -f $(obj)/config.pot
+ rm -f arch/um/Kconfig.arch
+ rm -f $(obj)/config.pot
# --- UNUSED, ignore ----------------------------------------------------------
PHONY += randconfig allyesconfig allnoconfig allmodconfig defconfig
randconfig: prepare $(objk)/conf
- $(Q)$(objk)/conf -r $(Kconfig)
+ $(objk)/conf -r $(Kconfig)
allyesconfig: prepare $(objk)/conf
- $(Q)$(objk)/conf -y $(Kconfig)
+ $(objk)/conf -y $(Kconfig)
allnoconfig: prepare $(objk)/conf
- $(Q)$(objk)/conf -n $(Kconfig)
+ $(objk)/conf -n $(Kconfig)
allmodconfig: prepare $(objk)/conf
- $(Q)$(objk)/conf -m $(Kconfig)
+ $(objk)/conf -m $(Kconfig)
defconfig: prepare $(objk)/conf
ifeq ($(KBUILD_DEFCONFIG),)
- $(Q)$(objk)/conf -d $(Kconfig)
+ $(objk)/conf -d $(Kconfig)
else
@echo "*** Default configuration is based on '$(KBUILD_DEFCONFIG)'"
- $(Q)$(objk)/conf -D $(KBUILD_DEFCONFIG) $(Kconfig)
+ $(objk)/conf -D $(KBUILD_DEFCONFIG) $(Kconfig)
endif
%_defconfig: prepare $(objk)/conf
- $(Q)$(objk)/conf -D configs/$@ $(Kconfig)
+ $(objk)/conf -D configs/$@ $(Kconfig)
# Help text used by make help
help:
@@ -149,7 +149,7 @@ clean-files += config.pot coreinfo.pot
PHONY += $(objk)/dochecklxdialog
$(addprefix $(obj)/,$(lxdialog)): $(objk)/dochecklxdialog
$(objk)/dochecklxdialog:
- $(Q)$(CONFIG_SHELL) $(check-lxdialog) -check $(HOSTCC) $(HOST_EXTRACFLAGS) $(HOST_LOADLIBES)
+ $(CONFIG_SHELL) $(check-lxdialog) -check $(HOSTCC) $(HOST_EXTRACFLAGS) $(HOST_LOADLIBES)
always := dochecklxdialog
@@ -294,44 +294,44 @@ endif
$(objk)/qconf: $(patsubst %,$(objk)/%,$(qconf-cxxobjs)) \
$(patsubst %,$(objk)/%,$(qconf-objs))
- $(Q)$(HOSTCXX) $(HOSTCXXFLAGS) $(HOSTLOADLIBES_qconf) -o $@ $^
+ $(HOSTCXX) $(HOSTCXXFLAGS) $(HOSTLOADLIBES_qconf) -o $@ $^
$(objk)/gconf: $(patsubst %,$(objk)/%,$(gconf-objs))
- $(Q)$(HOSTCC) $(HOSTCFLAGS) $(HOSTLOADLIBES_gconf) -o $@ $^
+ $(HOSTCC) $(HOSTCFLAGS) $(HOSTLOADLIBES_gconf) -o $@ $^
$(objk)/mconf: $(patsubst %,$(objk)/%,$(mconf-objs))
- $(Q)$(HOSTCC) $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) $(HOST_LOADLIBES) -o $@ $^
+ $(HOSTCC) $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) $(HOST_LOADLIBES) -o $@ $^
$(objk)/conf: $(patsubst %,$(objk)/%,$(conf-objs))
- $(Q)$(HOSTCC) $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) -o $@ $^
+ $(HOSTCC) $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) -o $@ $^
$(objk)/mconf.o: $(srck)/mconf.c
- $(Q)$(HOSTCC) $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) -c -o $@ $<
+ $(HOSTCC) $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) -c -o $@ $<
$(objk)/conf.o: $(srck)/conf.c
- $(Q)$(HOSTCC) $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) -c -o $@ $<
+ $(HOSTCC) $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) -c -o $@ $<
$(objk)/zconf.tab.o: $(objk)/zconf.tab.c $(objk)/lex.zconf.c \
$(objk)/zconf.hash.c
- $(Q)$(HOSTCC) $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) -c -o $@ $(objk)/zconf.tab.c
+ $(HOSTCC) $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) -c -o $@ $(objk)/zconf.tab.c
$(objk)/kconfig_load.o: $(srck)/kconfig_load.c $(objk)/lkc_defs.h
- $(Q)$(HOSTCC) $(HOSTCFLAGS) -c -o $@ $<
+ $(HOSTCC) $(HOSTCFLAGS) -c -o $@ $<
$(objk)/qconf.o: $(srck)/qconf.cc $(objk)/qconf.moc $(objk)/lkc_defs.h
- $(Q)$(HOSTCXX) $(HOSTCXXFLAGS) $(HOSTCXXFLAGS_qconf.o) -c -o $@ $<
+ $(HOSTCXX) $(HOSTCXXFLAGS) $(HOSTCXXFLAGS_qconf.o) -c -o $@ $<
$(objk)/gconf.o: $(srck)/gconf.c $(objk)/lkc_defs.h
- $(Q)$(HOSTCC) $(HOSTCFLAGS) $(HOSTCFLAGS_gconf.o) -c -o $@ $<
+ $(HOSTCC) $(HOSTCFLAGS) $(HOSTCFLAGS_gconf.o) -c -o $@ $<
$(objk)/%.moc: $(srck)/%.h
- $(Q)$(KC_QT_MOC) -i $< -o $@
+ $(KC_QT_MOC) -i $< -o $@
$(objk)/lkc_defs.h: $(srck)/lkc_proto.h
- $(Q)sed < $< > $@ 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/'
+ sed < $< > $@ 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/'
$(objk)/lex.zconf.c: $(srck)/lex.zconf.c_shipped
- $(Q)cp $< $@
+ cp $< $@
$(objk)/zconf.hash.c: $(srck)/zconf.hash.c_shipped
- $(Q)cp $< $@
+ cp $< $@
$(objk)/zconf.tab.c: $(srck)/zconf.tab.c_shipped
- $(Q)cp $< $@
+ cp $< $@
$(objk)/lxdialog/lxdialog: $(objk)/dochecklxdialog \
$(patsubst %,$(objk)/lxdialog/%,$(lxdialog))
- $(Q)$(HOSTCC) $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) $(HOST_LOADLIBES) \
+ $(HOSTCC) $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) $(HOST_LOADLIBES) \
$(patsubst %,$(objk)/lxdialog/%,$(lxdialog)) -o $@
$(objk)/lxdialog/%.o: $(srck)/lxdialog/%.c
- $(Q)$(HOSTCC) $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) $^ -c -o $@
+ $(HOSTCC) $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) $^ -c -o $@