summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-02-08 11:59:12 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-02-08 11:59:12 +0000
commitcf6db2d6d6ea77ed6297faee5444d91e4faae7cf (patch)
tree709f8549d163d4379df886165c709f7d4ae694f7
parentd268f49b0d555915823c6f8074aa2b7068affead (diff)
downloadopenembedded-core-cf6db2d6d6ea77ed6297faee5444d91e4faae7cf.tar.gz
openembedded-core-cf6db2d6d6ea77ed6297faee5444d91e4faae7cf.tar.bz2
openembedded-core-cf6db2d6d6ea77ed6297faee5444d91e4faae7cf.tar.xz
openembedded-core-cf6db2d6d6ea77ed6297faee5444d91e4faae7cf.zip
cx3110x: fix version 2.0.15
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3726 311d38ba-8fff-0310-9ca6-ca027cbcb966
-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 c4456c486..c952b2a94 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"
SECTION = "kernel/modules"
LICENSE = "GPL"
PACKAGES = "${PN}"
+PR = "r1"
COMPATIBLE_MACHINE = "(nokia800)"
@@ -10,7 +11,8 @@ export LDFLAGS = ""
DEFAULT_PREFERENCE_nokia770 = "-1"
-SRC_URI = "http://repository.maemo.org/pool/os2008/free/source/c/cx3110x-module-src/cx3110x-module-src_2.0.15-1.tar.gz"
+SRC_URI = "http://repository.maemo.org/pool/os2008/free/source/c/cx3110x-module-src/cx3110x-module-src_2.0.15-1.tar.gz \
+ file://no-linux-config.patch;patch=1"
S = "${WORKDIR}/cx3110x-module-src-${PV}"
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 000000000..e6ab31724
--- /dev/null
+++ b/meta/packages/cx3110x/files/no-linux-config.patch
@@ -0,0 +1,12 @@
+Index: cx3110x-module-src-2.0.15/src/sm_drv_spi.c
+===================================================================
+--- cx3110x-module-src-2.0.15.orig/src/sm_drv_spi.c 2008-02-08 13:52:28.000000000 +0100
++++ cx3110x-module-src-2.0.15/src/sm_drv_spi.c 2008-02-08 13:52:40.000000000 +0100
+@@ -36,7 +36,6 @@
+ #include <linux/platform_device.h>
+ #include <linux/string.h>
+ #include <linux/firmware.h>
+-#include <linux/config.h>
+ #if !defined(CONFIG_FW_LOADER) && !defined(CONFIG_FW_LOADER_MODULE)
+ #error No Firmware Loading configured in the kernel !
+ #endif