diff options
author | Rodrigo Vivi <rodrigo.vivi@openbossa.org> | 2008-05-02 12:23:15 -0300 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@openbossa.org> | 2008-10-23 17:35:37 -0300 |
commit | 8e2314167ef2351ebb62826a24deccbd08a42823 (patch) | |
tree | 5a181d32904b5fbd049648cfc381af786dd294cc /packages/mamona/cx3110x_0.8.1.bb | |
parent | ec91fb2370007b3ada6347f144d258756eb04212 (diff) |
Adding cx3110x package for mamona.
Note: This is not a commom module package. It doesn't use the module.bbclass,
but extracts the pre-built codesourcery's toolchain and the kernel source to
the workdir and use them to build the module.
Diffstat (limited to 'packages/mamona/cx3110x_0.8.1.bb')
-rw-r--r-- | packages/mamona/cx3110x_0.8.1.bb | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/packages/mamona/cx3110x_0.8.1.bb b/packages/mamona/cx3110x_0.8.1.bb new file mode 100644 index 0000000000..bfeb0ee6ab --- /dev/null +++ b/packages/mamona/cx3110x_0.8.1.bb @@ -0,0 +1,40 @@ +DESCRIPTION = "cx3110x wifi support as found in the Nokia 770/800"
+SECTION = "kernel/modules"
+LICENSE = "GPL"
+PR = "r0"
+
+COMPATIBLE_MACHINE = "(nokia770|nokia800)"
+
+SRC_URI = "https://garage.maemo.org/frs/download.php/2443/cx3110x-0.8.1.tar.gz \
+ http://www.codesourcery.com/public/gnu_toolchain/arm-none-eabi/arm-2005q3-2-arm-none-eabi-i686-pc-linux-gnu.tar.bz2 \
+ http://dev.openbossa.org/mamona/sources/kernel-source-2.6.16.tar.gz \
+ file://defconfig \
+ file://fix_mem_corruption.patch;patch=1 \
+ file://fix_mem_allign.patch;patch=1 \
+ file://cx3110x.patch;patch=1 \
+ file://fix_cross_makefile.patch;patch=1 \
+ file://fix_ssid_data_length.patch;patch=1 \
+ file://770_performance_improvements.patch;patch=1 \
+"
+# add service file
+
+LDFLAGS=""
+BUILD_LDFLAGS=""
+CFLAGS=""
+BUILD_CFLAGS=""
+TARGET_LDFLAGS=""
+
+do_configure() {
+ :
+}
+
+do_compile() {
+ export KERNEL_SRC_DIR=${WORKDIR}/kernel-source-2.6.16
+ cp ${WORKDIR}/defconfig ${KERNEL_SRC_DIR}/.config
+ KERNEL_SRC_DIR=${WORKDIR}/kernel-source-2.6.16 PATH=${WORKDIR}/bin/:$PATH CROSS_COMPILE=arm-none-eabi- make modules
+}
+
+do_install() {
+ mkdir -p ${WORKDIR}/install/${PN}/lib/modules/
+ install -m 0644 ${S}/src/cx3110x.ko ${WORKDIR}/install/${PN}/lib/modules/
+}
\ No newline at end of file |