summaryrefslogtreecommitdiffstats
path: root/tool-osdep.c
diff options
context:
space:
mode:
authorPaul Brook2009-05-13 23:21:47 +0200
committerPaul Brook2009-05-13 23:21:47 +0200
commit88ca2a5988d8712caf04406f08cfbf09f09101ab (patch)
tree45d2381e2aa40f463e4585e5c292362f8a1fe4e2 /tool-osdep.c
parentInclude assert.h from qemu-common.h (diff)
downloadqemu-88ca2a5988d8712caf04406f08cfbf09f09101ab.tar.gz
qemu-88ca2a5988d8712caf04406f08cfbf09f09101ab.tar.xz
qemu-88ca2a5988d8712caf04406f08cfbf09f09101ab.zip
Add tool_osdep.c
osdep.c is built in both as a toplevel target independant object, and as a per-target object because of kqemu dependencies. Under some circumstances make picks up the wrong one. Build the former as tool-osdep to avoid this conflict. Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'tool-osdep.c')
-rw-r--r--tool-osdep.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tool-osdep.c b/tool-osdep.c
new file mode 100644
index 0000000000..24e6edf9e0
--- /dev/null
+++ b/tool-osdep.c
@@ -0,0 +1,4 @@
+/* Hack to provide a version of osdep.o for qemu-img without conflicting with
+ the (kqemu) target specific osdep.o. */
+#include "osdep.c"
+