]> err.no Git - linux-2.6/commitdiff
[Blackfin] arch: respect `make -s` when creating the asm/mach symlink
authorMike Frysinger <vapier.adi@gmail.com>
Fri, 22 Feb 2008 08:03:54 +0000 (16:03 +0800)
committerBryan Wu <cooloney@kernel.org>
Fri, 22 Feb 2008 08:03:54 +0000 (16:03 +0800)
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/Makefile

index fe254f886a6e15c8702f49d9d08b9c90fefc1a17..88ae549f7b2dd392314805bc0e28e6f63eac0efd 100644 (file)
@@ -98,8 +98,10 @@ drivers-$(CONFIG_OPROFILE) += arch/$(ARCH)/oprofile/
 #      them changed.  We use .mach to indicate when they were updated
 #      last, otherwise make uses the target directory mtime.
 
+ quiet_show_mach_symlink = echo '  SYMLINK include/asm-$(ARCH)/mach-$(MACHINE) -> include/asm-$(ARCH)/mach'
+silent_show_mach_symlink = :
 include/asm-blackfin/.mach: $(wildcard include/config/arch/*.h) include/config/auto.conf
-       @echo '  SYMLINK include/asm-$(ARCH)/mach-$(MACHINE) -> include/asm-$(ARCH)/mach'
+       @$($(quiet)show_mach_symlink)
 ifneq ($(KBUILD_SRC),)
        $(Q)mkdir -p include/asm-$(ARCH)
        $(Q)ln -fsn $(srctree)/include/asm-$(ARCH)/mach-$(MACHINE) include/asm-$(ARCH)/mach