mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
Fix build when bcc is not installed.
This commit is contained in:
1 parent
31e57af5d6
commit
93943bf038
1 file changed
+1
-1
@@ -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)"; \
|
||||
|
||||