From 97eaceb840ccd383104a2c613e09cc18e5875222 Mon Sep 17 00:00:00 2001
From: Kevin Wolf <kwolf@redhat.com>
Date: Tue, 14 Feb 2012 11:13:28 +0100
Subject: [PATCH 03/99] Fix generation of config-host.h
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

RH-Author: Kevin Wolf <kwolf@redhat.com>
Message-id: <1329218101-24213-4-git-send-email-kwolf@redhat.com>
Patchwork-id: 37197
O-Subject: [RHEL-6.3 qemu-kvm PATCH v2 03/96] Fix generation of config-host.h
Bugzilla: 783950
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
RH-Acked-by: Marcelo Tosatti <mtosatti@redhat.com>
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>

From: Juan Quintela <quintela@redhat.com>

Bugzilla: 783950

This patch improves Anthony patch a6a853c86275efd89996ce59612a000c5873db5d

Once there, it improves handling of object files for qemu tools

cc: Andreas Färber <andreas.faerber@web.de>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
(cherry picked from commit 3c089e15b6b92894e43c02b3ae87232e4b8cab45)

Conflicts:

	Makefile

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
---
 Makefile |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

Signed-off-by: Michal Novotny <minovotn@redhat.com>
---
 Makefile |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 09a9456..1e62e13 100644
--- a/Makefile
+++ b/Makefile
@@ -164,7 +164,8 @@ trace-dtrace.o: trace-dtrace.dtrace $(GENERATED_HEADERS)
 
 ######################################################################
 
-qemu-img.o: qemu-img-cmds.h config-host.h
+qemu-img.o: qemu-img-cmds.h
+qemu-img.o qemu-tool.o qemu-nbd.o qemu-io.o: $(GENERATED_HEADERS)
 
 TOOLS_OBJ=qemu-tool.o $(shared-obj-y) $(trace-obj-y)
 
-- 
1.7.7.5

