make make -s more silent
use $(kecho) instead of echo to not output messages with make -s Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
03af6cc45c
commit
3a8d4e9440
6
Makefile
6
Makefile
|
@ -894,7 +894,7 @@ endef
|
|||
# directory for generated filesas used by some architectures.
|
||||
define create-symlink
|
||||
if [ ! -L include/asm ]; then \
|
||||
echo ' SYMLINK $@ -> include/asm-$(SRCARCH)'; \
|
||||
$(kecho) ' SYMLINK $@ -> include/asm-$(SRCARCH)'; \
|
||||
if [ ! -d include/asm-$(SRCARCH) ]; then \
|
||||
mkdir -p include/asm-$(SRCARCH); \
|
||||
fi; \
|
||||
|
@ -907,11 +907,11 @@ include/asm:
|
|||
$(Q)$(create-symlink)
|
||||
|
||||
include/config.h: include/config/auto.conf
|
||||
@echo ' SYMLINK $@ -> $(BOARD)/config.h'
|
||||
$(Q)$(kecho) ' SYMLINK $@ -> $(BOARD)/config.h'
|
||||
ifneq ($(KBUILD_SRC),)
|
||||
$(Q)ln -fsn $(srctree)/$(BOARD)/config.h $@
|
||||
else
|
||||
@ln -fsn ../$(BOARD)/config.h $@
|
||||
$(Q)ln -fsn ../$(BOARD)/config.h $@
|
||||
endif
|
||||
|
||||
# Generate some files
|
||||
|
|
|
@ -14,7 +14,7 @@ extra-y += piggy.gzip piggy.lzo piggy.lzma piggy.xzkern
|
|||
$(obj)/zbarebox.bin: $(obj)/zbarebox FORCE
|
||||
$(call if_changed,objcopy)
|
||||
$(call cmd,check_file_size,$(CONFIG_BAREBOX_MAX_IMAGE_SIZE))
|
||||
@echo ' Barebox: $@ is ready'
|
||||
$(Q)$(kecho) ' Barebox: $@ is ready'
|
||||
|
||||
$(obj)/zbarebox.S: $(obj)/zbarebox FORCE
|
||||
$(call if_changed,disasm)
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
#
|
||||
|
||||
include/generated/mach-types.h: $(src)/gen-mach-types $(src)/mach-types
|
||||
@echo ' Generating $@'
|
||||
@mkdir -p $(dir $@)
|
||||
$(Q)$(kecho) ' Generating $@'
|
||||
$(Q)mkdir -p $(dir $@)
|
||||
$(Q)$(AWK) -f $^ > $@ || { rm -f $@; /bin/false; }
|
||||
|
|
|
@ -6,7 +6,7 @@ KALLSYMS += --symbol-prefix=_
|
|||
|
||||
archprepare: maketools
|
||||
|
||||
@echo " SYMLINK include/nios_sopc.h -> arch/nios2/boards/$(board-y)/nios_sopc.h"
|
||||
@$(kecho) " SYMLINK include/nios_sopc.h -> arch/nios2/boards/$(board-y)/nios_sopc.h"
|
||||
@ln -fsn ../arch/nios2/boards/$(board-y)/nios_sopc.h include/nios_sopc.h
|
||||
|
||||
PHONY += maketools
|
||||
|
|
Loading…
Reference in New Issue