arch/x86/purgatory/Makefile: supress kexec-purgatory.c is up to date message
PATCH 1/1 arch/x86/purgatory/Makefile: supress kexec-purgatory.c is up to date message
Supress this unnecessary message during kernel re-build (CONFIG_KEXEC_FILE=y):
make[1]: `arch/x86/purgatory/kexec-purgatory.c' is up to date.
--- arch/x86/purgatory/Makefile | 1 + 1 file changed, 1 insertion(+)
arch/x86/purgatory/Makefile +1 -0
@@ -24,6 +24,7 @@ quiet_cmd_bin2c = BIN2C $@ $(obj)/kexec-purgatory.c: $(obj)/purgatory.ro FORCE $(call if_changed,bin2c) + @: obj-$(CONFIG_KEXEC_FILE) += kexec-purgatory.o
Signature · 1 line
1.9.3
Quoted 6 lines · WANG Chao
Supress this unnecessary message during kernel re-build (
CONFIG_KEXEC_FILE=y):make[1]: `arch/x86/purgatory/kexec-purgatory.c' is up to date.
Signed-off-by WANG Chao <[email protected]>
Quoted 15 lines · WANG Chao
Supress this unnecessary message during kernel re-build (
CONFIG_KEXEC_FILE=y):make[1]: `arch/x86/purgatory/kexec-purgatory.c' is up to date.
Signed-off-by WANG Chao <[email protected]>--- arch/x86/purgatory/Makefile | 1 + 1 file changed, 1 insertion(+)arch/x86/purgatory/Makefile +0
-0
arch/x86/purgatory/Makefile quiet_cmd_bin2c = BIN2C $@ · line 27
Quoted 4 lines
arch/x86/purgatory/Makefile +1
-0@@ -24,6 +24,7 @@ quiet_cmd_bin2c = BIN2C $@ $(obj)/kexec-purgatory.c: $(obj)/purgatory.ro FORCE $(call if_changed,bin2c) + @:
Where can I find the description of "@:" and how does it work?
Thanks
Vivek
Quoted 17 lines · Vivek Goyal
Quoted 16 lines · WANG Chao
Supress this unnecessary message during kernel re-build (
CONFIG_KEXEC_FILE=y):make[1]: `arch/x86/purgatory/kexec-purgatory.c' is up to date.
Signed-off-by WANG Chao <[email protected]>--- arch/x86/purgatory/Makefile | 1 + 1 file changed, 1 insertion(+)arch/x86/purgatory/Makefile +0
-0@@ -24,6 +24,7 @@ quiet_cmd_bin2c = BIN2C $@
Quoted 5 lines
arch/x86/purgatory/Makefile quiet_cmd_bin2c = BIN2C $@ · line 27
Quoted 3 lines
arch/x86/purgatory/Makefile +1
-0$(obj)/kexec-purgatory.c: $(obj)/purgatory.ro FORCE $(call if_changed,bin2c) + @:Where can I find the description of "@:" and how does it work?
@ is used to suppress echo'ing. See:
https://www.gnu.org/software/make/manual/html_node/Echoing.html
This is a trick to avoid "... is up to date" message". Check out commit a9358bc ("x86/build: Supress realmode.bin is up to date message").
Thanks
WANG Chao
Vivek Goyal
Acked-byQuoted 24 lines · WANG Chao
Quoted 17 lines · Vivek Goyal
Quoted 16 lines · WANG Chao
Supress this unnecessary message during kernel re-build (
CONFIG_KEXEC_FILE=y):make[1]: `arch/x86/purgatory/kexec-purgatory.c' is up to date.
Signed-off-by WANG Chao <[email protected]>--- arch/x86/purgatory/Makefile | 1 + 1 file changed, 1 insertion(+)arch/x86/purgatory/Makefile +0
-0@@ -24,6 +24,7 @@ quiet_cmd_bin2c = BIN2C $@Quoted 5 lines
arch/x86/purgatory/Makefile quiet_cmd_bin2c = BIN2C $@ · line 27
Quoted 3 lines
arch/x86/purgatory/Makefile +1
-0$(obj)/kexec-purgatory.c: $(obj)/purgatory.ro FORCE $(call if_changed,bin2c) + @:Where can I find the description of "@:" and how does it work?
Quoted 5 lines
@ is used to suppress echo'ing. See:
https://www.gnu.org/software/make/manual/html_node/Echoing.htmlThis is a trick to avoid "... is up to date" message". Check out commit a9358bc ("x86/build: Supress realmode.bin is up to date message").
Thanks for the explanations. Looks good to me.
Vivek
tip-bot for WANG Chao
merge bot[tip:x86/build] x86/purgatory, build: Suppress kexec-purgatory.c is up to date message
In reply to WANG Chaox86/purgatory, build: Suppress kexec-purgatory.c is up to date message
Commit-ID: 3ea4b8ee2419e21295cabab66c317612c5a55d26 Gitweb: http://git.kernel.org/tip/3ea4b8ee2419e21295cabab66c317612c5a55d26 Author: WANG Chao <[email protected]> AuthorDate: Tue, 14 Oct 2014 12:46:58 +0800 Committer: H. Peter Anvin <[email protected]> CommitDate: Wed, 15 Oct 2014 08:31:21 -0700
x86/purgatory, build: Suppress kexec-purgatory.c is up to date message
Suppress this unnecessary message during kernel re-build (CONFIG_KEXEC_FILE=y):
make[1]: `arch/x86/purgatory/kexec-purgatory.c' is up to date.
--- arch/x86/purgatory/Makefile | 1 + 1 file changed, 1 insertion(+)
arch/x86/purgatory/Makefile +1 -0
@@ -23,6 +23,7 @@ quiet_cmd_bin2c = BIN2C $@ $(obj)/kexec-purgatory.c: $(obj)/purgatory.ro FORCE $(call if_changed,bin2c) + @: obj-$(CONFIG_KEXEC_FILE) += kexec-purgatory.o