summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/cx3110x/cx3110x_2.0.15.bb4
-rw-r--r--meta/packages/cx3110x/files/no-linux-config.patch12
2 files changed, 15 insertions, 1 deletions
diff --git a/meta/packages/cx3110x/cx3110x_2.0.15.bb b/meta/packages/cx3110x/cx3110x_2.0.15.bb
index c4456c4868..c952b2a94d 100644
--- a/meta/packages/cx3110x/cx3110x_2.0.15.bb
+++ b/meta/packages/cx3110x/cx3110x_2.0.15.bb
@@ -2,6 +2,7 @@ DESCRIPTION = "cx3110x wifi support as found in the Nokia 770/N800/N810"
2SECTION = "kernel/modules" 2SECTION = "kernel/modules"
3LICENSE = "GPL" 3LICENSE = "GPL"
4PACKAGES = "${PN}" 4PACKAGES = "${PN}"
5PR = "r1"
5 6
6COMPATIBLE_MACHINE = "(nokia800)" 7COMPATIBLE_MACHINE = "(nokia800)"
7 8
@@ -10,7 +11,8 @@ export LDFLAGS = ""
10 11
11DEFAULT_PREFERENCE_nokia770 = "-1" 12DEFAULT_PREFERENCE_nokia770 = "-1"
12 13
13SRC_URI = "http://repository.maemo.org/pool/os2008/free/source/c/cx3110x-module-src/cx3110x-module-src_2.0.15-1.tar.gz" 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"
14 16
15S = "${WORKDIR}/cx3110x-module-src-${PV}" 17S = "${WORKDIR}/cx3110x-module-src-${PV}"
16 18
diff --git a/meta/packages/cx3110x/files/no-linux-config.patch b/meta/packages/cx3110x/files/no-linux-config.patch
new file mode 100644
index 0000000000..e6ab317249
--- /dev/null
+++ b/meta/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