All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] Fix for Haiku
@ 2021-07-03 21:10 Richard Zak
  2021-07-03 21:39 ` Peter Maydell
  2021-07-04  7:29 ` Thomas Huth
  0 siblings, 2 replies; 13+ messages in thread
From: Richard Zak @ 2021-07-03 21:10 UTC (permalink / raw)
  To: QEMU Developers; +Cc: Peter Maydell, Thomas Huth

[-- Attachment #1: Type: text/plain, Size: 1147 bytes --]

For Haiku: turn off TPM, disable mips & xtensa emulators as they won't
compile on Haiku, use Haiku's capstone. I'm resending this as I previously
sent to the wrong address. This should resolve the memory issue with "make
vm-build-haiku.x86_64"

Signed-off-by: Richard Zak <richard.j.zak@gmail.com>
---
 configure | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index e799d908a3..a965c6c72e 100755
--- a/configure
+++ b/configure
@@ -358,6 +358,7 @@ oss_lib=""
 bsd="no"
 linux="no"
 solaris="no"
+haiku="no"
 profiler="no"
 cocoa="auto"
 softmmu="yes"
@@ -769,7 +770,10 @@ SunOS)
 ;;
 Haiku)
   haiku="yes"
-  QEMU_CFLAGS="-DB_USE_POSITIVE_POSIX_ERRORS -D_BSD_SOURCE $QEMU_CFLAGS"
+  tpm="no"
+  capstone="system"
+  target_list_exclude="mips-softmmu mipsel-softmmu mips64-softmmu
mips64el-softmmu xtensa-softmmu xtensaeb-softmmu"
+  QEMU_CFLAGS="-DB_USE_POSITIVE_POSIX_ERRORS -D_BSD_SOURCE -I`finddir
B_SYSTEM_HEADERS_DIRECTORY`/capstone $QEMU_CFLAGS"
 ;;
 Linux)
   audio_drv_list="try-pa oss"
-- 
2.25.1


-- 
Regards,

Richard J. Zak
Professional Genius
PGP Key: https://keybase.io/rjzak/key.asc

[-- Attachment #2: Type: text/html, Size: 1823 bytes --]

^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2021-07-04 18:35 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-03 21:10 [PATCH 1/2] Fix for Haiku Richard Zak
2021-07-03 21:39 ` Peter Maydell
2021-07-03 22:06   ` Richard Zak
2021-07-04  9:03     ` Philippe Mathieu-Daudé
2021-07-04  9:27       ` Philippe Mathieu-Daudé
2021-07-04  9:30         ` Philippe Mathieu-Daudé
2021-07-04 14:20           ` Richard Zak
2021-07-04 16:16             ` Thomas Huth
2021-07-04 16:39               ` Richard Zak
2021-07-04 16:51                 ` Thomas Huth
2021-07-04 16:58                   ` Richard Zak
2021-07-04 18:34                     ` Thomas Huth
2021-07-04  7:29 ` Thomas Huth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.