blob: 2643f1ee6c327a7dc86939449374f845e6040823 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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"
|