direct-io.hg

changeset 14417:519d32076d48

Fix build when bcc is not installed.
author Keir Fraser <keir@xensource.com>
date Fri Mar 16 23:33:44 2007 +0000 (2007-03-16)
parents d64c0af015dd
children cf32c9e54c8f
files tools/firmware/Makefile
line diff
     1.1 --- a/tools/firmware/Makefile	Fri Mar 16 15:23:26 2007 -0700
     1.2 +++ b/tools/firmware/Makefile	Fri Mar 16 23:33:44 2007 +0000
     1.3 @@ -14,7 +14,7 @@ SUBDIRS += hvmloader
     1.4  
     1.5  .PHONY: all
     1.6  all:
     1.7 -	@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 \
     1.8 +	@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 \
     1.9  	echo "***********************************************************"; \
    1.10  	echo "Require dev86 package version >= 0.16.14 to build firmware!"; \
    1.11  	echo "(visit http://www.cix.co.uk/~mayday for more information)"; \