diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2003-06-09 00:07:17 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2003-06-09 00:07:17 +0200 |
commit | 18495a2b1d612cb1a9bbfab971bc5eb014ea6306 (patch) | |
tree | 7a8bb2041936b0da027234b70e449d744504ab3a /scripts | |
parent | 4949833a590e03775c29e83154ffb8a615b5c66a (diff) | |
parent | 11acea02c4bfe06996672093ad5fac952951b164 (diff) | |
download | history-18495a2b1d612cb1a9bbfab971bc5eb014ea6306.tar.gz |
Merge mars.ravnborg.org:/home/sam/src/linux/kernel/bk/linux-2.5
into mars.ravnborg.org:/home/sam/src/linux/kernel/bk/kbuild
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 c5b5d125067b83..398114524818c2 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. |