aboutsummaryrefslogtreecommitdiff
path: root/osdep.c
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2009-05-13 22:21:47 +0100
committerPaul Brook <paul@codesourcery.com>2009-05-13 22:21:47 +0100
commit88ca2a5988d8712caf04406f08cfbf09f09101ab (patch)
tree45d2381e2aa40f463e4585e5c292362f8a1fe4e2 /osdep.c
parent55616505876d6683130076b810a27c7889321560 (diff)
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 'osdep.c')
-rw-r--r--osdep.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/osdep.c b/osdep.c
index 369660141d..b300ba19aa 100644
--- a/osdep.c
+++ b/osdep.c
@@ -33,6 +33,9 @@
#include <sys/statvfs.h>
#endif
+/* FIXME: This file should be target independent. However it has kqemu
+ hacks, so must be built for every target. */
+
/* Needed early for HOST_BSD etc. */
#include "config-host.h"