summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-01-06 20:43:34 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-01-06 20:43:34 +0000
commitb040233aa67e14d72759338b4636edb55b258bba (patch)
tree730459ce4da13f30028d2f7f33206347a85661d4
parent3ec9a7de2a4e4c7c2b866f633d368100f4ec4809 (diff)
downloadopenembedded-core-b040233aa67e14d72759338b4636edb55b258bba.tar.gz
openembedded-core-b040233aa67e14d72759338b4636edb55b258bba.tar.bz2
openembedded-core-b040233aa67e14d72759338b4636edb55b258bba.zip
omap3-sgx-modules: recipe to build sgx modules using the kbuild system from the GPL'ed imgtec sources (from OE.dev with added COMPATIBLE_MACHINE)
-rw-r--r--meta/packages/powervr-drivers/omap3-sgx-modules_1.3.13.1397.bb17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/packages/powervr-drivers/omap3-sgx-modules_1.3.13.1397.bb b/meta/packages/powervr-drivers/omap3-sgx-modules_1.3.13.1397.bb
new file mode 100644
index 0000000000..22a55b278a
--- /dev/null
+++ b/meta/packages/powervr-drivers/omap3-sgx-modules_1.3.13.1397.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs"
+LICENSE = "GPLv2"
+
+inherit module
+
+SRC_URI = "http://dominion.thruhere.net/koen/OE/omap3-sgx-modules-1.3.13.1397.tar.bz2"
+
+S = ${WORKDIR}/${PN}-${PV}/eurasiacon/build/linux/omap3430_linux/kbuild/
+
+MAKE_TARGETS = "BUILD=debug"
+
+COMPATIBLE_MACHINE = "(omap-3430ldp|omap-3430sdp|beagleboard|overo)"
+
+do_install() {
+ mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/drivers/gpu
+ cp ${WORKDIR}/${PN}-${PV}/eurasiacon/binary_omap3430_linux_debug/*.ko ${D}/lib/modules/${KERNEL_VERSION}/drivers/gpu
+}