From b040233aa67e14d72759338b4636edb55b258bba Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 6 Jan 2009 20:43:34 +0000 Subject: [PATCH] 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) --- .../omap3-sgx-modules_1.3.13.1397.bb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta/packages/powervr-drivers/omap3-sgx-modules_1.3.13.1397.bb 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 +}