diff options
-rw-r--r-- | recipes/sgalib/files/sga-init | 23 | ||||
-rw-r--r-- | recipes/sgalib/sga-init.bb | 22 | ||||
-rw-r--r-- | recipes/sgalib/sgalib-0.1.0/sgalib-0.1.0.tar.gz | bin | 0 -> 138144 bytes | |||
-rw-r--r-- | recipes/sgalib/sgalib_0.1.0.bb | 15 |
4 files changed, 60 insertions, 0 deletions
diff --git a/recipes/sgalib/files/sga-init b/recipes/sgalib/files/sga-init new file mode 100644 index 0000000000..3a7d4031af --- /dev/null +++ b/recipes/sgalib/files/sga-init @@ -0,0 +1,23 @@ +#!/bin/sh + +case "$1" in + start) + test -f /dev/SGA/ || mknod /dev/SGA c 254 0 + ;; + + stop) + ;; + + restart) + $0 stop + sleep 1 + $0 start + ;; + + *) + echo "usage: $0 { start | stop | restart }" + ;; +esac + +exit 0 + diff --git a/recipes/sgalib/sga-init.bb b/recipes/sgalib/sga-init.bb new file mode 100644 index 0000000000..d0bd1f8cbc --- /dev/null +++ b/recipes/sgalib/sga-init.bb @@ -0,0 +1,22 @@ +DESCRIPTION = "Simple Nomadik SGA Init Script" +LICENSE = "ST" +SECTION = "x11" +PRIORITY = "optional" +PR = "r1" + +SRC_URI = "file://sga-init" +S = ${WORKDIR} + +PACKAGE_ARCH = "all" + +FILES_${PN}= "${sysconfdir}" + +do_install() { + install -d ${D}/${sysconfdir}/init.d + install -m 0755 ${WORKDIR}/sga-init ${D}/${sysconfdir}/init.d +} + +inherit update-rc.d + +INITSCRIPT_NAME = "sga-init" +INITSCRIPT_PARAMS = "start 30 5 2 ." diff --git a/recipes/sgalib/sgalib-0.1.0/sgalib-0.1.0.tar.gz b/recipes/sgalib/sgalib-0.1.0/sgalib-0.1.0.tar.gz Binary files differnew file mode 100644 index 0000000000..a504b67269 --- /dev/null +++ b/recipes/sgalib/sgalib-0.1.0/sgalib-0.1.0.tar.gz diff --git a/recipes/sgalib/sgalib_0.1.0.bb b/recipes/sgalib/sgalib_0.1.0.bb new file mode 100644 index 0000000000..24fbeb6319 --- /dev/null +++ b/recipes/sgalib/sgalib_0.1.0.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "Nomadik userland graphical acceleration library" +SECTION = "x11" +DEPENDS = "virtual/kernel" +LICENSE = "LGPL2+" + +SRC_URI = "file://sgalib-${PV}.tar.gz" + +S = "${WORKDIR}/sgalib-${PV}" + +COMPATIBLE_MACHINE = "nhk15" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +inherit autotools_stage + +EXTRA_OECONF = "--with-kernelsrcdir=${STAGING_KERNEL_DIR}" |