summaryrefslogtreecommitdiffstats
path: root/meta-extras/packages/cx3110x
diff options
context:
space:
mode:
Diffstat (limited to 'meta-extras/packages/cx3110x')
-rw-r--r--meta-extras/packages/cx3110x/cx3110x_1.1.bb21
-rw-r--r--meta-extras/packages/cx3110x/cx3110x_2.0.15.bb23
-rw-r--r--meta-extras/packages/cx3110x/files/no-linux-config.patch12
3 files changed, 56 insertions, 0 deletions
diff --git a/meta-extras/packages/cx3110x/cx3110x_1.1.bb b/meta-extras/packages/cx3110x/cx3110x_1.1.bb
new file mode 100644
index 0000000000..95bbc35086
--- /dev/null
+++ b/meta-extras/packages/cx3110x/cx3110x_1.1.bb
@@ -0,0 +1,21 @@
1DESCRIPTION = "cx3110x wifi support as found in the Nokia 770/800"
2SECTION = "kernel/modules"
3LICENSE = "GPL"
4PR = "r1"
5PACKAGES = "${PN}"
6
7COMPATIBLE_MACHINE = "(nokia770|nokia800)"
8
9export KERNEL_SRC_DIR = ${STAGING_KERNEL_DIR}
10export LDFLAGS = ""
11
12SRC_URI = "https://garage.maemo.org/frs/download.php/939/cx3110x-1.1.tar.gz"
13
14S = "${WORKDIR}/cx3110x-${PV}"
15
16inherit module
17
18do_compile() {
19 oe_runmake modules
20}
21
diff --git a/meta-extras/packages/cx3110x/cx3110x_2.0.15.bb b/meta-extras/packages/cx3110x/cx3110x_2.0.15.bb
new file mode 100644
index 0000000000..c952b2a94d
--- /dev/null
+++ b/meta-extras/packages/cx3110x/cx3110x_2.0.15.bb
@@ -0,0 +1,23 @@
1DESCRIPTION = "cx3110x wifi support as found in the Nokia 770/N800/N810"
2SECTION = "kernel/modules"
3LICENSE = "GPL"
4PACKAGES = "${PN}"
5PR = "r1"
6
7COMPATIBLE_MACHINE = "(nokia800)"
8
9export KERNEL_SRC_DIR = ${STAGING_KERNEL_DIR}
10export LDFLAGS = ""
11
12DEFAULT_PREFERENCE_nokia770 = "-1"
13
14SRC_URI = "http://repository.maemo.org/pool/os2008/free/source/c/cx3110x-module-src/cx3110x-module-src_2.0.15-1.tar.gz \
15 file://no-linux-config.patch;patch=1"
16
17S = "${WORKDIR}/cx3110x-module-src-${PV}"
18
19inherit module
20
21do_compile() {
22 oe_runmake modules
23}
diff --git a/meta-extras/packages/cx3110x/files/no-linux-config.patch b/meta-extras/packages/cx3110x/files/no-linux-config.patch
new file mode 100644
index 0000000000..e6ab317249
--- /dev/null
+++ b/meta-extras/packages/cx3110x/files/no-linux-config.patch
@@ -0,0 +1,12 @@
1Index: cx3110x-module-src-2.0.15/src/sm_drv_spi.c
2===================================================================
3--- cx3110x-module-src-2.0.15.orig/src/sm_drv_spi.c 2008-02-08 13:52:28.000000000 +0100
4+++ cx3110x-module-src-2.0.15/src/sm_drv_spi.c 2008-02-08 13:52:40.000000000 +0100
5@@ -36,7 +36,6 @@
6 #include <linux/platform_device.h>
7 #include <linux/string.h>
8 #include <linux/firmware.h>
9-#include <linux/config.h>
10 #if !defined(CONFIG_FW_LOADER) && !defined(CONFIG_FW_LOADER_MODULE)
11 #error No Firmware Loading configured in the kernel !
12 #endif