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)

This commit is contained in:
Richard Purdie 2009-01-06 20:43:34 +00:00
parent 3ec9a7de2a
commit b040233aa6
1 changed files with 17 additions and 0 deletions

View File

@ -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
}