All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v9 01/10] host-qemu: new package
@ 2012-10-06 13:53 Francois Perrad
  2012-10-06 13:53 ` [Buildroot] [PATCH v9 02/10] perl: " Francois Perrad
                   ` (8 more replies)
  0 siblings, 9 replies; 18+ messages in thread
From: Francois Perrad @ 2012-10-06 13:53 UTC (permalink / raw)
  To: buildroot

only user mode for the current target architecture

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 package/qemu/qemu.mk |   82 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 82 insertions(+)
 create mode 100644 package/qemu/qemu.mk

diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk
new file mode 100644
index 0000000..de72e04
--- /dev/null
+++ b/package/qemu/qemu.mk
@@ -0,0 +1,82 @@
+#############################################################
+#
+# qemu
+#
+#############################################################
+
+QEMU_VERSION = 1.2.0
+QEMU_SOURCE = qemu-$(QEMU_VERSION).tar.bz2
+QEMU_SITE = http://wiki.qemu.org/download
+
+#       BR ARCH         qemu
+#       -------         ----
+#       arm             arm
+#       armeb           armeb
+#       avr32           not supported
+#       bfin            not supported
+#       i386            i386
+#       i486            i386
+#       i586            i386
+#       i686            i386
+#       x86_64          x86_64
+#       m68k            m68k
+#       microblaze      microblaze
+#       mips            mips
+#       mipsel          mipsel
+#       mips64          ?
+#       mips64el        ?
+#       powerpc         ppc
+#       sh2             not supported
+#       sh2a            not supported
+#       sh3             not supported
+#       sh3eb           not supported
+#       sh4             sh4
+#       sh4eb           sh4eb
+#       sh4a            ?
+#       sh4aeb          ?
+#       sh64            not supported
+#       sparc           sparc
+
+QEMU_ARCH = $(ARCH)
+ifeq ($(QEMU_ARCH),i486)
+    QEMU_ARCH = i386
+endif
+ifeq ($(QEMU_ARCH),i586)
+    QEMU_ARCH = i386
+endif
+ifeq ($(QEMU_ARCH),i686)
+    QEMU_ARCH = i386
+endif
+ifeq ($(QEMU_ARCH),powerpc)
+    QEMU_ARCH = ppc
+endif
+HOST_QEMU_TARGETS=$(QEMU_ARCH)-linux-user
+
+define HOST_QEMU_CONFIGURE_CMDS
+	(cd $(@D); ./configure                          \
+		--target-list="$(HOST_QEMU_TARGETS)"    \
+		--prefix="$(HOST_DIR)/usr"              \
+		--interp-prefix=$(STAGING_DIR)          \
+		--cc="$(HOSTCC)"                        \
+		--host-cc="$(HOSTCC)"                   \
+		--extra-cflags="$(HOST_CFLAGS)"         \
+		--extra-ldflags="$(HOST_LDFLAGS)"       \
+	)
+endef
+
+define HOST_QEMU_BUILD_CMDS
+	$(MAKE) -C $(@D) all
+endef
+
+define HOST_QEMU_INSTALL_CMDS
+	$(MAKE) -C $(@D) install
+endef
+
+define HOST_QEMU_CLEAN_CMDS
+	$(MAKE) -C $(@D) clean
+endef
+
+$(eval $(host-generic-package))
+
+# variable used by other packages
+QEMU_USER = $(HOST_DIR)/usr/bin/qemu-$(QEMU_ARCH)
-- 
1.7.9.5

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

end of thread, other threads:[~2012-10-10 15:04 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-06 13:53 [Buildroot] [PATCH v9 01/10] host-qemu: new package Francois Perrad
2012-10-06 13:53 ` [Buildroot] [PATCH v9 02/10] perl: " Francois Perrad
2012-10-08  9:34   ` Thomas Petazzoni
2012-10-08 11:41     ` François Perrad
2012-10-08 11:49       ` Thomas Petazzoni
2012-10-08 16:56         ` François Perrad
2012-10-08 19:13           ` Thomas Petazzoni
2012-10-10 14:41         ` François Perrad
2012-10-06 13:53 ` [Buildroot] [PATCH v9 03/10] perl: add DB_File Francois Perrad
2012-10-06 13:53 ` [Buildroot] [PATCH v9 04/10] gdbm: new package Francois Perrad
2012-10-06 13:53 ` [Buildroot] [PATCH v9 05/10] perl: add GDBM_File Francois Perrad
2012-10-06 13:53 ` [Buildroot] [PATCH v9 06/10] cpanminus: new package Francois Perrad
2012-10-08  9:37   ` Thomas Petazzoni
2012-10-10 15:04     ` François Perrad
2012-10-06 13:53 ` [Buildroot] [PATCH v9 07/10] perl: add option "custom install" Francois Perrad
2012-10-06 13:53 ` [Buildroot] [PATCH v9 08/10] perl: relax microperl dependencies Francois Perrad
2012-10-06 13:53 ` [Buildroot] [PATCH v9 09/10] microperl: mark as DEPRECATED Francois Perrad
2012-10-06 13:53 ` [Buildroot] [PATCH v9 10/10] microperl: remove it Francois Perrad

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.