--- Do not merge this patch to the main line ---

This patch is used for Kbuild performance test.

Signed-off-by: Masahiro Yamada <yamad...@jp.panasonic.com>
---
 scripts/Kbuild.include | 4 +---
 scripts/Makefile.build | 6 +-----
 2 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include
index 6504571..9d4dabe 100644
--- a/scripts/Kbuild.include
+++ b/scripts/Kbuild.include
@@ -232,9 +232,7 @@ if_changed = $(if $(strip $(any-prereq) $(arg-check)),      
                 \
 if_changed_dep = $(if $(strip $(any-prereq) $(arg-check) ),                  \
        @set -e;                                                             \
        $(echo-cmd) $(cmd_$(1));                                             \
-       scripts/basic/fixdep $(depfile) $@ '$(make-cmd)' > $(dot-target).tmp;\
-       rm -f $(depfile);                                                    \
-       mv -f $(dot-target).tmp $(dot-target).cmd)
+       echo 'cmd_$@ := $(make-cmd)' > $(dot-target).cmd)
 
 # Usage: $(call if_changed_rule,foo)
 # Will check if $(cmd_foo) or any of the prerequisites changed,
diff --git a/scripts/Makefile.build b/scripts/Makefile.build
index f37957f..dae809b 100644
--- a/scripts/Makefile.build
+++ b/scripts/Makefile.build
@@ -322,11 +322,7 @@ define rule_cc_o_c
        $(call echo-cmd,cc_o_c) $(cmd_cc_o_c);                            \
        $(cmd_modversions)                                                \
        $(call echo-cmd,record_mcount)                                    \
-       $(cmd_record_mcount)                                              \
-       scripts/basic/fixdep $(depfile) $@ '$(call make-cmd,cc_o_c)' >    \
-                                                     $(dot-target).tmp;  \
-       rm -f $(depfile);                                                 \
-       mv -f $(dot-target).tmp $(dot-target).cmd
+       $(cmd_record_mcount)
 endef
 
 # Built-in and composite module parts
-- 
1.8.3.2

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to