From 81ff121d192edf287c02fbd3cb0cecea76a2859d Mon Sep 17 00:00:00 2001 From: Francisco Alecrim Date: Tue, 15 Dec 2009 10:15:39 -0400 Subject: [PATCH 068/118] stlc45xx: include recipe Open Source WLAN driver for Nokia N800 and N810 Signed-off-by: Francisco Alecrim --- recipes/stlc45xx/stlc45xx_git.bb | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) create mode 100644 recipes/stlc45xx/stlc45xx_git.bb diff --git a/recipes/stlc45xx/stlc45xx_git.bb b/recipes/stlc45xx/stlc45xx_git.bb new file mode 100644 index 0000000..04e5a0a --- /dev/null +++ b/recipes/stlc45xx/stlc45xx_git.bb @@ -0,0 +1,24 @@ +DESCRIPTION = "Open Source WLAN driver for Nokia N800 and N810." +HOMEPAGE = "http://gitorious.org/stlc45xx" +SECTION = "kernel/modules" +LICENSE = "GPL" + +inherit module +COMPATIBLE_MACHINE = "(nokia800|nokia810)" +TAG = "a9909fabb305f7e8dc3dfbe7de7f5acd2504fc2c" +PV = "0.1" +PR = "r3+gitr${TAG}" +RDEPENDS = "wireless-tools" + +SRC_URI = " git://gitorious.org/stlc45xx/mainline.git;protocol=git;tag=${TAG} " + +S = "${WORKDIR}/git" + +EXTRA_OEMAKE = "KERNDIR=${STAGING_KERNEL_DIR}" +export KERNEL_SRC_DIR = ${STAGING_KERNEL_DIR} + +do_install () { + install -m 0755 -d ${D}/lib/modules/${KERNEL_VERSION}/kernel/ + # use cp instead of install so its not stripped + cp ${S}/stlc45xx.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/ +} -- 1.6.3.3