Skip to contentSkip to conversation

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

PATCH Superseded Sean Bruno 2 participants 2 messages Jun 12, 2016 – Jun 13, 2016 Kbuild

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Sean Bruno

author
#0 lore raw

PATCH 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 see 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.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 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 see on FreeBSD.

s/see/seen

(Perhaps can be fixed when applying.)

Quoted 23 lines
---
 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.1