[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Fix build when bcc is not installed.



# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1174088024 0
# Node ID 519d32076d48317f798c6670ca32c9bdabc14d10
# Parent  d64c0af015dd19e6ef30041f7e4531bcec5e465e
Fix build when bcc is not installed.
---
 tools/firmware/Makefile |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r d64c0af015dd -r 519d32076d48 tools/firmware/Makefile
--- a/tools/firmware/Makefile   Fri Mar 16 15:23:26 2007 -0700
+++ b/tools/firmware/Makefile   Fri Mar 16 23:33:44 2007 +0000
@@ -14,7 +14,7 @@ SUBDIRS += hvmloader
 
 .PHONY: all
 all:
-       @set -e; if [ $$((`bcc -v 2>&1 | grep version | cut -d' ' -f 3 | awk 
-F. '{ printf "0x%02x%02x%02x", $$1, $$2, $$3}'`)) -lt $$((0x00100e)) ] ; then \
+       @set -e; if [ $$((`( bcc -v 2>&1 | grep version || echo 0.0.0 ) | cut 
-d' ' -f 3 | awk -F. '{ printf "0x%02x%02x%02x", $$1, $$2, $$3}'`)) -lt 
$$((0x00100e)) ] ; then \
        echo "***********************************************************"; \
        echo "Require dev86 package version >= 0.16.14 to build firmware!"; \
        echo "(visit http://www.cix.co.uk/~mayday for more information)"; \

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.