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 000000000..95bbc3508 --- /dev/null +++ b/meta-extras/packages/cx3110x/cx3110x_1.1.bb @@ -0,0 +1,21 @@ +DESCRIPTION = "cx3110x wifi support as found in the Nokia 770/800" +SECTION = "kernel/modules" +LICENSE = "GPL" +PR = "r1" +PACKAGES = "${PN}" + +COMPATIBLE_MACHINE = "(nokia770|nokia800)" + +export KERNEL_SRC_DIR = ${STAGING_KERNEL_DIR} +export LDFLAGS = "" + +SRC_URI = "https://garage.maemo.org/frs/download.php/939/cx3110x-1.1.tar.gz" + +S = "${WORKDIR}/cx3110x-${PV}" + +inherit module + +do_compile() { + oe_runmake modules +} + 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 000000000..c952b2a94 --- /dev/null +++ b/meta-extras/packages/cx3110x/cx3110x_2.0.15.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "cx3110x wifi support as found in the Nokia 770/N800/N810" +SECTION = "kernel/modules" +LICENSE = "GPL" +PACKAGES = "${PN}" +PR = "r1" + +COMPATIBLE_MACHINE = "(nokia800)" + +export KERNEL_SRC_DIR = ${STAGING_KERNEL_DIR} +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 \ + file://no-linux-config.patch;patch=1" + +S = "${WORKDIR}/cx3110x-module-src-${PV}" + +inherit module + +do_compile() { + oe_runmake modules +} 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 000000000..e6ab31724 --- /dev/null +++ b/meta-extras/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 |