linux-nokia900-meego: minimize defconfig with savedefconfig
[openembedded.git] / recipes / c3110x / cx3110x_1.1.bb
blobb3d9ee90ccfbfea10d6890d925d8d5d086a6d52a
1 DESCRIPTION = "cx3110x wifi support as found in the Nokia 770/800"
2 SECTION = "kernel/modules"
3 LICENSE = "GPL"
4 PR = "r4"
6 COMPATIBLE_MACHINE = "(nokia770|nokia800)"
8 export KERNEL_SRC_DIR = ${STAGING_KERNEL_DIR}
9 export LDFLAGS = ""
11 SRC_URI = "https://garage.maemo.org/frs/download.php/939/cx3110x-1.1.tar.gz \
12 file://umac_binary.patch \
13 http://use.the.umac.ko.from.your.own.nokia800/umac.ko"
15 S = "${WORKDIR}/cx3110x-${PV}"
17 inherit module
19 do_compile() {
20 cp ${WORKDIR}/umac.ko ${S}/src/binary_umac.o
21 ${OBJCOPY} ${S}/src/binary_umac.o -R __ksymtab
22 ${OBJCOPY} ${S}/src/binary_umac.o -R __ksymtab_strings
23 ${OBJCOPY} ${S}/src/binary_umac.o -R .gnu.linkonce.this_module
24 ${OBJCOPY} ${S}/src/binary_umac.o -R .modinfo
25 ${OBJCOPY} ${S}/src/binary_umac.o -R .init.text
26 ${OBJCOPY} ${S}/src/binary_umac.o -R .exit.text
28 oe_runmake modules
32 SRC_URI[md5sum] = "18e5dc522aa9424cf9b32b86da19b85e"
33 SRC_URI[sha256sum] = "b0e00a7c164711512549d3ad82707c53a20fd978c2448ec22d2ea76df1954eee"