From 6e2f8d7eec54b13f490e331a4c021f55c4b64799 Mon Sep 17 00:00:00 2001
From: Andy Boyett <agb@openwrt.org>
Date: Sat, 21 Aug 2010 17:02:09 +0000
Subject: [PATCH] qemu: fix build failure on some systems. Closes #7767

SVN-Revision: 22751
---
 tools/qemu/Makefile | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/tools/qemu/Makefile b/tools/qemu/Makefile
index 7d4eb0b30c..50bfd6d727 100644
--- a/tools/qemu/Makefile
+++ b/tools/qemu/Makefile
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=qemu
 PKG_VERSION:=0.12.5
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/qemu/
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
@@ -27,9 +27,7 @@ define Host/Configure
 endef
 
 define Host/Compile
-	(cd $(HOST_BUILD_DIR); \
-		make qemu-img \
-	)
+	$(MAKE) -C $(HOST_BUILD_DIR) qemu-img
 endef
 
 define Host/Install
-- 
GitLab