summaryrefslogtreecommitdiff
path: root/org.handhelds.familiar/packages/bochs
diff options
context:
space:
mode:
authorRene Wagner <rw@handhelds.org>2006-05-13 15:42:03 +0200
committerRene Wagner <rw@handhelds.org>2006-05-13 15:42:03 +0200
commit5a5346dfbec459c10d9e61e16e125b83975a1ef1 (patch)
tree342e16f3fe790d03b93294344e6154459888939f /org.handhelds.familiar/packages/bochs
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e35772d79306d1d9de19c12b23681618532d.
Diffstat (limited to 'org.handhelds.familiar/packages/bochs')
-rw-r--r--org.handhelds.familiar/packages/bochs/bochs-2.1/compile.patch27
-rw-r--r--org.handhelds.familiar/packages/bochs/bochs_2.1.bb32
2 files changed, 59 insertions, 0 deletions
diff --git a/org.handhelds.familiar/packages/bochs/bochs-2.1/compile.patch b/org.handhelds.familiar/packages/bochs/bochs-2.1/compile.patch
new file mode 100644
index 0000000..063371d
--- /dev/null
+++ b/org.handhelds.familiar/packages/bochs/bochs-2.1/compile.patch
@@ -0,0 +1,27 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- bochs-2.1/fpu/errors.c~compile 2003-11-01 19:36:19.000000000 +0100
++++ bochs-2.1/fpu/errors.c 2004-01-19 20:38:58.000000000 +0100
+@@ -18,7 +18,7 @@
+ | other processes using the emulator while swapping is in progress. |
+ +---------------------------------------------------------------------------*/
+
+-#include <linux/signal.h>
++#include <signal.h>
+ #include <stdio.h>
+
+ #include "fpu_emu.h"
+--- bochs-2.1/fpu/fpu_entry.c~compile 2003-11-01 19:36:19.000000000 +0100
++++ bochs-2.1/fpu/fpu_entry.c 2004-01-19 20:41:02.000000000 +0100
+@@ -31,7 +31,7 @@
+ #include "control_w.h"
+ #include "status_w.h"
+
+-#include <linux/signal.h>
++#include <signal.h>
+
+ #define __BAD__ FPU_illegal /* Illegal on an 80486, causes SIGILL */
+
diff --git a/org.handhelds.familiar/packages/bochs/bochs_2.1.bb b/org.handhelds.familiar/packages/bochs/bochs_2.1.bb
new file mode 100644
index 0000000..a9aed3a
--- /dev/null
+++ b/org.handhelds.familiar/packages/bochs/bochs_2.1.bb
@@ -0,0 +1,32 @@
+DESCRIPTION = "x86 Emulator based on SDL"
+SECTION = "base"
+PRIORITY = "optional"
+DEPENDS = "libsdl-qpe"
+LICENSE = "GPL"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/bochs/bochs-${PV}.tar.gz \
+ file://compile.patch;patch=1"
+
+inherit autotools
+
+EXTRA_OECONF = "--without-x \
+ --without-x11 \
+ --without-beos \
+ --without-win32 \
+ --without-macos \
+ --without-carbon \
+ --without-nogui \
+ --without-term \
+ --without-rfb \
+ --without-amigaos \
+ --with-sdl \
+ --without-svga \
+ --without-wx"
+
+do_compile() {
+ oe_runmake bochs bximage bxcommit
+}
+
+do_install() {
+ oe_runmake -i install # yes, ugly i know... but i can't get rid of that bailing out docbook crap atm.
+}