Skip to contentSkip to conversation

x86: suppress realmode.bin is up to date message

PATCH New Peter Foley 2 participants 3 messages Apr 15, 2014 – Apr 16, 2014 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: suppress realmode.bin is up to date message

suppress the below unnecessary message.

make[3]: 'arch/x86/realmode/rm/realmode.bin' is up to date.

---
 arch/x86/realmode/rm/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/x86/realmode/rm/Makefile +2 -1
index 3497f14..7c0d7be 100644
@@ -52,8 +52,9 @@ $(obj)/realmode.elf: $(obj)/realmode.lds $(REALMODE_OBJS) FORCE
 OBJCOPYFLAGS_realmode.bin := -O binary
 
 targets += realmode.bin
-$(obj)/realmode.bin: $(obj)/realmode.elf $(obj)/realmode.relocs
+$(obj)/realmode.bin: $(obj)/realmode.elf $(obj)/realmode.relocs FORCE
 	$(call if_changed,objcopy)
+	@:
 
 quiet_cmd_relocs = RELOCS  $@
       cmd_relocs = arch/x86/tools/relocs --realmode $< > $@
Signature · 1 line
1.9.2
#1 lore raw

[tip:x86/urgent] x86/build: Supress realmode.bin is up to date message

x86/build: Supress realmode.bin is up to date message
Commit-ID:  96f4c760d99afae7da28628b30211cd3bf0958d5
Gitweb:     http://git.kernel.org/tip/96f4c760d99afae7da28628b30211cd3bf0958d5
Author:     Peter Foley <[email protected]>
AuthorDate: Tue, 15 Apr 2014 13:58:13 -0400
Committer:  Ingo Molnar <[email protected]>
CommitDate: Wed, 16 Apr 2014 08:57:18 +0200

x86/build: Supress realmode.bin is up to date message

Supress this unnecessary message during kernel re-build:

make[3]: 'arch/x86/realmode/rm/realmode.bin' is up to date.

---
 arch/x86/realmode/rm/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/x86/realmode/rm/Makefile +2 -1
index 3497f14..7c0d7be 100644
@@ -52,8 +52,9 @@ $(obj)/realmode.elf: $(obj)/realmode.lds $(REALMODE_OBJS) FORCE
 OBJCOPYFLAGS_realmode.bin := -O binary
 
 targets += realmode.bin
-$(obj)/realmode.bin: $(obj)/realmode.elf $(obj)/realmode.relocs
+$(obj)/realmode.bin: $(obj)/realmode.elf $(obj)/realmode.relocs FORCE
 	$(call if_changed,objcopy)
+	@:
 
 quiet_cmd_relocs = RELOCS  $@
       cmd_relocs = arch/x86/tools/relocs --realmode $< > $@
#2 lore raw

[tip:x86/build] x86/build: Supress realmode.bin is up to date message

In reply to Peter Foley
x86/build: Supress realmode.bin is up to date message
Commit-ID:  a9358bc3531901a15e2f7cd48550c9555fc0288f
Gitweb:     http://git.kernel.org/tip/a9358bc3531901a15e2f7cd48550c9555fc0288f
Author:     Peter Foley <[email protected]>
AuthorDate: Tue, 15 Apr 2014 13:58:13 -0400
Committer:  Ingo Molnar <[email protected]>
CommitDate: Wed, 16 Apr 2014 15:17:24 +0200

x86/build: Supress realmode.bin is up to date message

Supress this unnecessary message during kernel re-build:

make[3]: 'arch/x86/realmode/rm/realmode.bin' is up to date.

---
 arch/x86/realmode/rm/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/x86/realmode/rm/Makefile +2 -1
index 3497f14..7c0d7be 100644
@@ -52,8 +52,9 @@ $(obj)/realmode.elf: $(obj)/realmode.lds $(REALMODE_OBJS) FORCE
 OBJCOPYFLAGS_realmode.bin := -O binary
 
 targets += realmode.bin
-$(obj)/realmode.bin: $(obj)/realmode.elf $(obj)/realmode.relocs
+$(obj)/realmode.bin: $(obj)/realmode.elf $(obj)/realmode.relocs FORCE
 	$(call if_changed,objcopy)
+	@:
 
 quiet_cmd_relocs = RELOCS  $@
       cmd_relocs = arch/x86/tools/relocs --realmode $< > $@