require orinoco-modules.inc RDEPENDS_orinoco-modules-cs += "orinoco-modules" PR = "r5" SRC_URI += "\ file://crosscompile.patch;patch=1 \ file://monitor-${PV}.patch;patch=1 \ file://spectrum.conf \ file://spectrum_fw.h \ file://spectrum_cs.c \ file://orinoco_cs.conf" S = "${WORKDIR}/orinoco-${PV}" do_compile_prepend() { cp -f ${WORKDIR}/spectrum* ${S}/ } do_install() { install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/net/ install -d ${D}${sysconfdir}/pcmcia install -m 0644 *${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/net/ install -m 0644 ${WORKDIR}/spectrum.conf ${D}${sysconfdir}/pcmcia/ install -m 0644 hermes.conf ${D}${sysconfdir}/pcmcia/ install -d ${D}${sysconfdir}/modutils install -m 0644 ${WORKDIR}/orinoco_cs.conf ${D}${sysconfdir}/modutils/ } FILES_orinoco-modules-cs = "/lib/modules/${KERNEL_VERSION}/net/*_cs${KERNEL_OBJECT_SUFFIX} /${sysconfdir}"