1 # FIXME, consider using kernel staging directory instead of KERNEL_SOURCE which is
2 # located in the work directory. see module.bbclass
4 DESCRIPTION = "Linux Driver for Marvel 88W8385 802.11b/g Wifi Module used in Gumstix daughtercards"
7 HOMEPAGE = "http://www.gumstix.com"
9 RDEPENDS = "kernel (${KERNEL_VERSION})"
10 DEPENDS = "virtual/kernel"
13 SRC_URI = "http://files.gumstix.com/cf8385-5.0.16.p0-26306.tbz \
14 file://wifistix.conf \
16 file://marvell-devicename.patch;patch=1 \
17 file://marvell-devicetable.patch;patch=1 \
18 file://marvell-gumstix.patch;patch=1 \
19 file://sbi-no-inline.patch;patch=1 \
20 file://2.6.17-new-pcmcia-layer.patch;patch=1 \
21 file://bad-cast.patch;patch=1 \
22 file://sk_buff.patch;patch=1 \
23 file://struct-changes.patch;patch=1 \
24 file://no-more-config-h.patch;patch=1 \
25 file://realtime-kernel.patch;patch=1 \
26 file://install-properly.patch;patch=1 \
27 file://fix-essid-truncation.patch;patch=1"
29 S = "${WORKDIR}/src_cf8385"
33 EXTRA_OEMAKE = 'CONFIG_GUMSTIX=y CONFIG_DEBUG=n KVER=2.6 \
34 KERNELDIR="${KERNEL_SOURCE}" ARCH="${TARGET_ARCH}" \
35 CC="${KERNEL_CC}" EXTRA_CFLAGS="${CFLAGS}" \
36 INSTALL_MOD_PATH="${D}"'
39 unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
44 unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
47 install -m 0755 -d ${D}${sysconfdir}/modprobe.d
48 install -m 0644 ${WORKDIR}/wifistix.conf ${D}${sysconfdir}/modprobe.d/wifistix.conf
49 install -m 0755 -d ${D}${sysconfdir}/modutils
50 install -m 0644 ${WORKDIR}/mcf25 ${D}${sysconfdir}/modutils/mcf25
53 FILES_${PN} = "${base_libdir}/modules/"
54 FILES_${PN} += "${sysconfdir}/modprobe.d/"
55 FILES_${PN} += "${sysconfdir}/modutils/"
56 CONFFILES_${PN} = "${sysconfdir}/modprobe.d/wifistix.conf"
57 CONFFILES_${PN} += "${sysconfdir}/modutils/mcf25"