aboutsummaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2018-03-01 11:05:45 +0100
committerGerd Hoffmann <kraxel@redhat.com>2018-03-05 08:44:11 +0100
commit2373f7d581e82c11645a799a032b9e64fd61c1b8 (patch)
tree12390f998688f7d7b36b9c857e397e6c5e95b832 /target
parente0fb129c2f2baac0ef44408751bada8739f99522 (diff)
downloadqemu-2373f7d581e82c11645a799a032b9e64fd61c1b8.zip
qemu-2373f7d581e82c11645a799a032b9e64fd61c1b8.tar.gz
qemu-2373f7d581e82c11645a799a032b9e64fd61c1b8.tar.bz2
ui/curses: build as module
Also drop curses libs from libs_softmmu. Add CURSES_{CFLAGS,LIBS} variables so we can use them for linking the curses module. Also make target/unicore32/helper.o depend on curses which uses curses directly for some reason ... Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20180301100547.18962-12-kraxel@redhat.com
Diffstat (limited to 'target')
-rw-r--r--target/unicore32/Makefile.objs4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/unicore32/Makefile.objs b/target/unicore32/Makefile.objs
index 6b41b1e..35d8bf5 100644
--- a/target/unicore32/Makefile.objs
+++ b/target/unicore32/Makefile.objs
@@ -2,3 +2,7 @@ obj-y += translate.o op_helper.o helper.o cpu.o
obj-y += ucf64_helper.o
obj-$(CONFIG_SOFTMMU) += softmmu.o
+
+# Huh? Uses curses directly instead of using ui/console.h interfaces ...
+helper.o-cflags := $(CURSES_CFLAGS)
+helper.o-libs := $(CURSES_LIBS)