Skip to contentSkip to conversation

Use "-s" instead of "--quiet" to resolve non-fatal build error on FreeBSD.

PATCH Applied Sean Bruno 4 participants 4 messages Jun 14, 2016 – Jul 5, 2016 Kbuild

lore
Share & tools
lore

Sean Bruno

author
#0 lore raw

PATCH v2 1/1 Use "-s" instead of "--quiet" to resolve non-fatal build error on FreeBSD.

The --quiet argument is not available on all operating systems. Use -s instead to match the rest of the Makefile uses. This fixes a non-fatal error seen on FreeBSD.

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
index ed4032a..a7a356a 100644
@@ -185,7 +185,7 @@ qemu-version.h: FORCE
 				printf '""\n'; \
 			fi; \
 		fi) > [email protected])
-	$(call quiet-command, cmp --quiet $@ [email protected] || mv [email protected] $@)
+	$(call quiet-command, cmp -s $@ [email protected] || mv [email protected] $@)
 
 config-host.h: config-host.h-timestamp
 config-host.h-timestamp: config-host.mak
Signature · 1 line
2.8.4
Reviewed-by on v2 1/1
#1 lore raw
Quoted 8 lines · Sean Bruno

The --quiet argument is not available on all operating systems. Use -s instead to match the rest of the Makefile uses. This fixes a non-fatal error seen on FreeBSD.

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

See also my pending patch related to this code:
https://lists.gnu.org/archive/html/qemu-devel/2016-06/msg02375.html

if Paolo wants to pull in all the changes related to version generation in his next pull request.

Quoted 15 lines
Makefile +1 -1
index ed4032a..a7a356a 100644
@@ -185,7 +185,7 @@ qemu-version.h: FORCE
 				printf '""\n'; \
 			fi; \
 		fi) > [email protected])
-	$(call quiet-command, cmp --quiet $@ [email protected] || mv [email protected] $@)
+	$(call quiet-command, cmp -s $@ [email protected] || mv [email protected] $@)
 
 config-host.h: config-host.h-timestamp
 config-host.h-timestamp: config-host.mak
Signature · 2 lines
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org
Reviewed-by on v2 1/1
#2 lore raw
In reply to Sean Bruno
Quoted 26 lines · Sean Bruno

The --quiet argument is not available on all operating systems. Use -s instead to match the rest of the Makefile uses. This fixes a non-fatal error seen on FreeBSD.

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
index ed4032a..a7a356a 100644
@@ -185,7 +185,7 @@ qemu-version.h: FORCE
 				printf '""\n'; \
 			fi; \
 		fi) > [email protected])
-	$(call quiet-command, cmp --quiet $@ [email protected] || mv [email protected] $@)
+	$(call quiet-command, cmp -s $@ [email protected] || mv [email protected] $@)
 
 config-host.h: config-host.h-timestamp
 config-host.h-timestamp: config-host.mak
Signature · 1 line
2.8.4
#3 lore raw
In reply to Sean Bruno
Quoted 15 lines · Sean Bruno

The --quiet argument is not available on all operating systems. Use -s instead to match the rest of the Makefile uses. This fixes a non-fatal error seen on FreeBSD.

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +0 -0
index ed4032a..a7a356a 100644

Makefile qemu-version.h: FORCE · line 191

Quoted 8 lines
Makefile +1 -1
@@ -185,7 +185,7 @@ qemu-version.h: FORCE
 				printf '""\n'; \
 			fi; \
 		fi) > [email protected])
-	$(call quiet-command, cmp --quiet $@ [email protected] || mv [email protected] $@)
+	$(call quiet-command, cmp -s $@ [email protected] || mv [email protected] $@)
 
 config-host.h: config-host.h-timestamp
 config-host.h-timestamp: config-host.mak

Queued, thanks.

Paolo