diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-01-16 15:37:55 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-01-29 13:44:58 +0000 |
commit | 514aa592cd3c569e4033d7c64bc12dfc1507a951 (patch) | |
tree | f84e81b3a3488bf3e372029b5d87ce3ae57d15c0 /meta-moblin/packages/drm/linux-psb-modules_2.6.27.bb | |
parent | 4b7ef3d8b58ceb3277c5083b8941e18345ff1861 (diff) | |
download | openembedded-core-514aa592cd3c569e4033d7c64bc12dfc1507a951.tar.gz openembedded-core-514aa592cd3c569e4033d7c64bc12dfc1507a951.tar.bz2 openembedded-core-514aa592cd3c569e4033d7c64bc12dfc1507a951.tar.xz openembedded-core-514aa592cd3c569e4033d7c64bc12dfc1507a951.zip |
libdrm-psb: Update to use a 2.6.27 kernel and simplify patches
Diffstat (limited to 'meta-moblin/packages/drm/linux-psb-modules_2.6.27.bb')
-rw-r--r-- | meta-moblin/packages/drm/linux-psb-modules_2.6.27.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-moblin/packages/drm/linux-psb-modules_2.6.27.bb b/meta-moblin/packages/drm/linux-psb-modules_2.6.27.bb new file mode 100644 index 000000000..2643f1ee6 --- /dev/null +++ b/meta-moblin/packages/drm/linux-psb-modules_2.6.27.bb @@ -0,0 +1,30 @@ +SRC_URI = "http://archive.ubuntu.com/ubuntu/pool/main/l/linux-ubuntu-modules-2.6.24/linux-ubuntu-modules-2.6.24_2.6.24-22.35.tar.gz \ + file://fixes-kernversion.patch;patch=1 \ + file://menlow-config" + +PR = "r4" + +S = "${WORKDIR}/lum/ubuntu" + +inherit module + +export src="${S}" + +do_configure_prepend () { + cp ${WORKDIR}/menlow-config ${S}/.config +} + +do_compile() { + unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS + make -C ${STAGING_KERNEL_DIR} ARCH=i386 M=${S} modules +} + +MODULE_PATH = "/lib/modules/${KERNEL_VERSION}" + +do_install () { + install -d ${D}${MODULE_PATH}/tmp/kernel/drivers/char/drm/ + install -m 644 ${S}/media/drm-poulsbo/drm.ko ${D}${MODULE_PATH}/tmp/kernel/drivers/char/drm/ + install -m 644 ${S}/media/drm-poulsbo/psb.ko ${D}${MODULE_PATH}/tmp/kernel/drivers/char/drm/ +} + +COMPATIBLE_MACHINE = "menlow"
\ No newline at end of file |