diff options
Diffstat (limited to 'meta-extras/packages/cx3110x')
-rw-r--r-- | meta-extras/packages/cx3110x/cx3110x_1.1.bb | 21 | ||||
-rw-r--r-- | meta-extras/packages/cx3110x/cx3110x_2.0.15.bb | 23 | ||||
-rw-r--r-- | meta-extras/packages/cx3110x/files/no-linux-config.patch | 12 |
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 @@ | |||
1 | DESCRIPTION = "cx3110x wifi support as found in the Nokia 770/800" | ||
2 | SECTION = "kernel/modules" | ||
3 | LICENSE = "GPL" | ||
4 | PR = "r1" | ||
5 | PACKAGES = "${PN}" | ||
6 | |||
7 | COMPATIBLE_MACHINE = "(nokia770|nokia800)" | ||
8 | |||
9 | export KERNEL_SRC_DIR = ${STAGING_KERNEL_DIR} | ||
10 | export LDFLAGS = "" | ||
11 | |||
12 | SRC_URI = "https://garage.maemo.org/frs/download.php/939/cx3110x-1.1.tar.gz" | ||
13 | |||
14 | S = "${WORKDIR}/cx3110x-${PV}" | ||
15 | |||
16 | inherit module | ||
17 | |||
18 | do_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 @@ | |||
1 | DESCRIPTION = "cx3110x wifi support as found in the Nokia 770/N800/N810" | ||
2 | SECTION = "kernel/modules" | ||
3 | LICENSE = "GPL" | ||
4 | PACKAGES = "${PN}" | ||
5 | PR = "r1" | ||
6 | |||
7 | COMPATIBLE_MACHINE = "(nokia800)" | ||
8 | |||
9 | export KERNEL_SRC_DIR = ${STAGING_KERNEL_DIR} | ||
10 | export LDFLAGS = "" | ||
11 | |||
12 | DEFAULT_PREFERENCE_nokia770 = "-1" | ||
13 | |||
14 | SRC_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 | |||
17 | S = "${WORKDIR}/cx3110x-module-src-${PV}" | ||
18 | |||
19 | inherit module | ||
20 | |||
21 | do_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 @@ | |||
1 | Index: 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 | ||