aboutsummaryrefslogtreecommitdiff
path: root/target-unicore32
diff options
context:
space:
mode:
authorRobert Schiele <rschiele@gmail.com>2012-12-04 16:58:08 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2012-12-23 14:38:52 -0600
commit74880fe27d2120ab3861dc857ecd025db1a67038 (patch)
tree71511ef2d164e1635457e24b46fcd110ed2584d0 /target-unicore32
parent2915efbfa8efadaa2806e827ba92b8dba4f7cd52 (diff)
configure: allow disabling pixman if not needed
When we build neither any system emulation targets nor the tools there is actually no need for pixman library. In that case do not enforce presence of that library on the system. Reviewed-by: Andreas F=E4rber <afaerber@suse.de> Signed-off-by: Robert Schiele <rschiele@gmail.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'target-unicore32')
-rw-r--r--target-unicore32/helper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/target-unicore32/helper.c b/target-unicore32/helper.c
index ff4f628404..5359538ea5 100644
--- a/target-unicore32/helper.c
+++ b/target-unicore32/helper.c
@@ -13,7 +13,9 @@
#include "exec/gdbstub.h"
#include "helper.h"
#include "qemu/host-utils.h"
+#ifndef CONFIG_USER_ONLY
#include "ui/console.h"
+#endif
#undef DEBUG_UC32