Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Dmitry <golubovsky@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] Added package v86d which provides a real-mode helper for uvesafb driver.
Date: Wed,  9 May 2012 06:41:41 -0400	[thread overview]
Message-ID: <1336560101-29035-1-git-send-email-golubovsky@gmail.com> (raw)

Signed-off-by: Dmitry <golubovsky@gmail.com>
---
 package/Config.in      |    1 +
 package/v86d/Config.in |    9 +++++++++
 package/v86d/v86d.mk   |   30 ++++++++++++++++++++++++++++++
 3 files changed, 40 insertions(+), 0 deletions(-)
 create mode 100644 package/v86d/Config.in
 create mode 100644 package/v86d/v86d.mk

diff --git a/package/Config.in b/package/Config.in
index 34c0280..208e66f 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -230,6 +230,7 @@ source "package/unionfs/Config.in"
 source "package/usb_modeswitch/Config.in"
 source "package/usbmount/Config.in"
 source "package/usbutils/Config.in"
+source "package/v86d/Config.in"
 source "package/wipe/Config.in"
 source "package/xfsprogs/Config.in"
 endmenu
diff --git a/package/v86d/Config.in b/package/v86d/Config.in
new file mode 100644
index 0000000..ba1baca
--- /dev/null
+++ b/package/v86d/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_V86D
+	bool "v86d"
+	depends on (BR2_i386 || BR2_x86_64)
+	help
+	  v86d is the userspace helper that runs x86 code in an emulated
+	  environment. uvesafb will not work without v86d. v86d currently
+	  supports the x86 and amd64 (x86-64) architectures.
+
+	  http://dev.gentoo.org/~spock/projects/uvesafb/
diff --git a/package/v86d/v86d.mk b/package/v86d/v86d.mk
new file mode 100644
index 0000000..c909061
--- /dev/null
+++ b/package/v86d/v86d.mk
@@ -0,0 +1,30 @@
+############################################
+#
+# v86d
+# 
+############################################
+
+V86D_VERSION = 0.1.10
+V86D_SOURCE = v86d-$(V86D_VERSION).tar.bz2
+V86D_SITE = http://dev.gentoo.org/~spock/projects/uvesafb/archive
+
+# This flag to configure should be per target architecture rather than
+# autodetected (or it will be per host architecture which may be 
+# not the same as target).
+
+X86EMU = $(if $(BR2_i386),n,y)
+
+# v86d's configure script is not autoconf-based.
+# GENTARGETS macro will be used rather than AUTOTARGETS.
+
+define V86D_CONFIGURE_CMDS
+	(cd $(@D) ; ./configure --with-debug=n --with-klibc=n --with-x86emu=$(X86EMU))
+endef
+
+# It is necessary to define __i386__ explicitly for successful compilation.
+
+define V86D_BUILD_CMDS
+	$(MAKE) CC="$(TARGET_CC) -D__i386__" LD="$(TARGET_LD)" -C $(@D) all
+endef
+
+$(eval $(call GENTARGETS))
-- 
1.7.2.5

             reply	other threads:[~2012-05-09 10:41 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-09 10:41 Dmitry [this message]
2012-05-11 22:39 ` [Buildroot] [PATCH] Added package v86d which provides a real-mode helper for uvesafb driver Arnout Vandecappelle
2012-05-12  5:01   ` Dmitry Golubovsky
2012-05-12 14:30     ` Arnout Vandecappelle
     [not found]       ` <CADiAo4KYq_xVcstt8LTK5PtgdyVHfLguqq9Jfpi13aSC7FnATg@mail.gmail.com>
2012-05-14  3:54         ` [Buildroot] Fwd: " Dmitry Golubovsky
  -- strict thread matches above, loose matches on Subject: below --
2012-07-18 21:17 [Buildroot] " Dmitry
2012-07-17  3:17 Dmitry
2012-07-17  8:01 ` Thomas Petazzoni
2012-07-17  9:38   ` Dmitry Golubovsky
2012-05-14  3:50 Dmitry
2012-05-09 10:32 Dmitry
2012-05-09 10:35 ` Baruch Siach
2012-05-09  1:19 Dmitry
2012-05-09  3:45 ` Baruch Siach
2012-05-09  3:47   ` Dmitry Golubovsky
2012-05-09  4:32     ` Baruch Siach
2012-05-07  3:29 Dmitry
2012-05-07  3:58 ` Baruch Siach
2012-05-07 10:31   ` Dimitry Golubovsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1336560101-29035-1-git-send-email-golubovsky@gmail.com \
    --to=golubovsky@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox