1
0

120-lto-jobserver.patch 985 B

123456789101112131415161718192021222324252627
  1. --- a/scripts/Kbuild.include
  2. +++ b/scripts/Kbuild.include
  3. @@ -130,7 +130,7 @@ make-cmd = $(subst \#,\\\#,$(subst $$,$$
  4. #
  5. if_changed = $(if $(strip $(filter-out $(PHONY),$?) \
  6. $(call arg-check, $(cmd_$(1)), $(cmd_$@)) ), \
  7. - @set -e; \
  8. + +@set -e; \
  9. $(echo-cmd) $(cmd_$(1)); \
  10. echo 'cmd_$@ := $(make-cmd)' > $(@D)/.$(@F).cmd)
  11. @@ -139,7 +139,7 @@ if_changed = $(if $(strip $(filter-out $
  12. if_changed_dep = $(if $(strip $(filter-out $(PHONY),$?) \
  13. $(filter-out FORCE $(wildcard $^),$^) \
  14. $(call arg-check, $(cmd_$(1)), $(cmd_$@)) ), \
  15. - @set -e; \
  16. + +@set -e; \
  17. $(echo-cmd) $(cmd_$(1)); \
  18. scripts/basic/fixdep $(depfile) $@ '$(make-cmd)' > $(@D)/.$(@F).tmp; \
  19. rm -f $(depfile); \
  20. @@ -150,5 +150,5 @@ if_changed_dep = $(if $(strip $(filter-o
  21. # and if so will execute $(rule_foo)
  22. if_changed_rule = $(if $(strip $(filter-out $(PHONY),$?) \
  23. $(call arg-check, $(cmd_$(1)), $(cmd_$@)) ),\
  24. - @set -e; \
  25. + +@set -e; \
  26. $(rule_$(1)))