summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Laine <jeremy.laine@m4x.org>2008-05-07 12:16:42 +0000
committerJeremy Laine <jeremy.laine@m4x.org>2008-05-07 12:16:42 +0000
commitd834f7af795d0bf924bc42265b517786bd539b86 (patch)
tree649a112b55ea4cb03de794a31e1e493ea0e3d9d6
parent676ee8f6c7b2ca741a337d98bf1abf0c668b45ac (diff)
v86d: import v86d (from poky) for uvesafb support
-rw-r--r--packages/v86d/.mtn2git_empty0
-rw-r--r--packages/v86d/v86d/.mtn2git_empty0
-rwxr-xr-xpackages/v86d/v86d/fbsetup3
-rw-r--r--packages/v86d/v86d_0.1.3.bb32
4 files changed, 35 insertions, 0 deletions
diff --git a/packages/v86d/.mtn2git_empty b/packages/v86d/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/v86d/.mtn2git_empty
diff --git a/packages/v86d/v86d/.mtn2git_empty b/packages/v86d/v86d/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/v86d/v86d/.mtn2git_empty
diff --git a/packages/v86d/v86d/fbsetup b/packages/v86d/v86d/fbsetup
new file mode 100755
index 0000000000..2a409cc529
--- /dev/null
+++ b/packages/v86d/v86d/fbsetup
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+/sbin/modprobe uvesafb
diff --git a/packages/v86d/v86d_0.1.3.bb b/packages/v86d/v86d_0.1.3.bb
new file mode 100644
index 0000000000..f870376029
--- /dev/null
+++ b/packages/v86d/v86d_0.1.3.bb
@@ -0,0 +1,32 @@
+DESCRIPTION = "User support binary for the uvesafb kernel module"
+SRC_URI = "http://dev.gentoo.org/~spock/projects/uvesafb/archive/v86d-0.1.3.tar.bz2 \
+ file://fbsetup"
+DEPENDS = "virtual/kernel"
+LICENSE = "GPLv2"
+PR = "r3"
+
+RRECOMMENDS_${PN} = "kernel-module-uvesafb"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+COMPATIBLE_MACHINE = "(qemux86|bootcdx86)"
+
+INITSCRIPT_NAME = "fbsetup"
+INITSCRIPT_PARAMS = "start 0 S ."
+
+do_configure () {
+ ./configure --default
+}
+
+do_compile () {
+ KDIR="${STAGING_KERNEL_DIR}" make
+}
+
+do_install () {
+ install -d ${D}${base_sbindir}
+ install v86d ${D}${base_sbindir}/
+
+ install -d ${D}${sysconfdir}/init.d/
+ install -m 0755 ${WORKDIR}/fbsetup ${D}${sysconfdir}/init.d/fbsetup
+}
+
+inherit update-rc.d