diff options
author | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2003-06-10 09:56:39 -0500 |
---|---|---|
committer | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2003-06-10 09:56:39 -0500 |
commit | b2f0cbefa0306f3ff8c119c9695485f744a7d881 (patch) | |
tree | b44695f200511e47a090edb91e37bbe46e32c549 /scripts | |
parent | 26d03d49cf3216d928b69fbc1519575ec38f9785 (diff) | |
parent | 18495a2b1d612cb1a9bbfab971bc5eb014ea6306 (diff) | |
download | history-b2f0cbefa0306f3ff8c119c9695485f744a7d881.tar.gz |
Merge bk://linux-sam.bkbits.net/kbuild
into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.lib | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index c5b5d125067b8..398114524818c 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -227,24 +227,6 @@ if_changed_rule = $(if $(strip $? \ cmd = @$(if $($(quiet)cmd_$(1)),echo ' $($(quiet)cmd_$(1))' &&) $(cmd_$(1)) -# do_cmd is a shorthand used to support both compressed, verbose -# and silent output in a single line. -# Compared to cmd described avobe, do_cmd does no rely on any variables -# previously assigned a value. -# -# Usage $(call do_cmd,CMD $@,cmd_to_execute bla bla) -# Example: -# $(call do_cmd,CP $@,cp -b $< $@) -# make -s => nothing will be printed -# make KBUILD_VERBOSE=1 => cp -b path/to/src.file path/to/dest.file -# make KBUILD_VERBOSE=0 => CP path/to/dest.file -define do_cmd - @$(if $(filter quiet_,$(quiet)), echo ' $(1)' &&, - $(if $(filter silent_,$(quiet)),, - echo "$(2)" &&)) \ - $(2) -endef - # $(call descend,<dir>,<target>) # Recursively call a sub-make in <dir> with target <target> # Usage is deprecated, because make do not see this as an invocation of make. |