diff options
Diffstat (limited to 'packages/orinoco')
-rw-r--r-- | packages/orinoco/orinoco-modules_0.13e.bb | 34 | ||||
-rw-r--r-- | packages/orinoco/orinoco-modules_0.15rc1.bb | 46 | ||||
-rw-r--r-- | packages/orinoco/orinoco-modules_0.15rc2.bb | 23 | ||||
-rw-r--r-- | packages/orinoco/orinoco-modules_20050101.bb | 51 |
4 files changed, 135 insertions, 19 deletions
diff --git a/packages/orinoco/orinoco-modules_0.13e.bb b/packages/orinoco/orinoco-modules_0.13e.bb index ab99ff28c6..2e289a7480 100644 --- a/packages/orinoco/orinoco-modules_0.13e.bb +++ b/packages/orinoco/orinoco-modules_0.13e.bb @@ -4,12 +4,13 @@ SECTION = "kernel/modules" PRIORITY = "optional" MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>" LICENSE = "GPL" -PR = "r2" +PR = "r3" SRC_URI = "http://ozlabs.org/people/dgibson/dldwd/orinoco-${PV}.tar.gz; \ file://crosscompile.patch;patch=1 \ file://monitor-${PV}.patch;patch=1 \ - file://spectrum*" + file://spectrum* \ + file://orinoco_cs.conf" S = "${WORKDIR}/orinoco-${PV}" inherit module @@ -18,17 +19,24 @@ do_compile_prepend() { cp -f ${WORKDIR}/spectrum* ${S}/ } -do_install() { - install -d ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/net/wireless +do_install() { + install -d ${D}/lib/modules/${KERNEL_VERSION}/net/ install -d ${D}/etc/pcmcia - install -m 0644 *.o ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/net/wireless/ - install -m 0644 spectrum.conf ${D}/etc/pcmcia/ + install -m 0644 *${KERNEL_OBJECT_SUFFIX} ${D}/lib/modules/${KERNEL_VERSION}/net/ + install -m 0644 ${WORKDIR}/spectrum.conf ${D}/etc/pcmcia/ install -m 0644 hermes.conf ${D}/etc/pcmcia/ - - # if PCI is disabled, don't ship the PCI modules - if grep -q '#undef \+CONFIG_PCI' ${STAGING_KERNEL_DIR}/include/linux/autoconf.h; then - for f in plx pci tmd; do - rm -f ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/net/wireless/orinoco_$f.o - done - fi + install -d ${D}/etc/modutils + install -m 0644 ${WORKDIR}/orinoco_cs.conf ${D}/etc/modutils/ } + +PACKAGES = "orinoco-modules-cs orinoco-modules-pci orinoco-modules-usb orinoco-modules-nortel orinoco-modules" +FILES_orinoco-modules-cs = "/lib/modules/${KERNEL_VERSION}/net/*_cs${KERNEL_OBJECT_SUFFIX} /${sysconfdir}" +FILES_orinoco-modules-pci = "/lib/modules/${KERNEL_VERSION}/net/orinoco_p*${KERNEL_OBJECT_SUFFIX}" +FILES_orinoco-modules-usb = "/lib/modules/${KERNEL_VERSION}/net/*_usb${KERNEL_OBJECT_SUFFIX}" +FILES_orinoco-modules-nortel = "/lib/modules/${KERNEL_VERSION}/net/orinoco_tmd${KERNEL_OBJECT_SUFFIX} \ + /lib/modules/${KERNEL_VERSION}/net/orinoco_nortel${KERNEL_OBJECT_SUFFIX}" +FILES_orinoco-modules = "/lib/modules/" +RDEPENDS_orinoco-modules-cs = "orinoco-modules" +RDEPENDS_orinoco-modules-pci = "orinoco-modules" +RDEPENDS_orinoco-modules-usb = "orinoco-modules" +RDEPENDS_orinoco-modules-nortel = "orinoco-modules" diff --git a/packages/orinoco/orinoco-modules_0.15rc1.bb b/packages/orinoco/orinoco-modules_0.15rc1.bb index e69de29bb2..3174ca094f 100644 --- a/packages/orinoco/orinoco-modules_0.15rc1.bb +++ b/packages/orinoco/orinoco-modules_0.15rc1.bb @@ -0,0 +1,46 @@ +DESCRIPTION = "A driver for wireless LAN cards based on Hermes(Orinoco) cards. \ +Also contains support for cards using downloadable firmware, i.e. the Symbol/Socket family." +SECTION = "kernel/modules" +PRIORITY = "optional" +MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>" +LICENSE = "GPL" +PR = "r3" + +# seems to cause problems on arm +DEFAULT_PREFERENCE_arm = "-1" + +SRC_URI = "${SOURCEFORGE_MIRROR}/orinoco/orinoco-${PV}.tar.gz \ + file://list-move.patch;patch=1 \ + file://spectrum-firmware.patch;patch=1 \ + file://spectrum.conf \ + file://spectrum_fw.h \ + file://orinoco_cs.conf" +S = "${WORKDIR}/orinoco-${PV}" + +inherit module + +do_compile_prepend() { + install ${WORKDIR}/spectrum_fw.h ${S}/ +} + +do_install() { + install -d ${D}/lib/modules/${KERNEL_VERSION}/net/ + install -d ${D}/etc/pcmcia + install -m 0644 *${KERNEL_OBJECT_SUFFIX} ${D}/lib/modules/${KERNEL_VERSION}/net/ + install -m 0644 ${WORKDIR}/spectrum.conf ${D}/etc/pcmcia/ + install -m 0644 hermes.conf ${D}/etc/pcmcia/ + install -d ${D}/etc/modutils + install -m 0644 ${WORKDIR}/orinoco_cs.conf ${D}/etc/modutils/ +} + +PACKAGES = "orinoco-modules-cs orinoco-modules-pci orinoco-modules-usb orinoco-modules-nortel orinoco-modules" +FILES_orinoco-modules-cs = "/lib/modules/${KERNEL_VERSION}/net/*_cs${KERNEL_OBJECT_SUFFIX} /${sysconfdir}" +FILES_orinoco-modules-pci = "/lib/modules/${KERNEL_VERSION}/net/orinoco_p*${KERNEL_OBJECT_SUFFIX}" +FILES_orinoco-modules-usb = "/lib/modules/${KERNEL_VERSION}/net/*_usb${KERNEL_OBJECT_SUFFIX}" +FILES_orinoco-modules-nortel = "/lib/modules/${KERNEL_VERSION}/net/orinoco_tmd${KERNEL_OBJECT_SUFFIX} \ + /lib/modules/${KERNEL_VERSION}/net/orinoco_nortel${KERNEL_OBJECT_SUFFIX}" +FILES_orinoco-modules = "/lib/modules/" +RDEPENDS_orinoco-modules-cs = "orinoco-modules" +RDEPENDS_orinoco-modules-pci = "orinoco-modules" +RDEPENDS_orinoco-modules-usb = "orinoco-modules" +RDEPENDS_orinoco-modules-nortel = "orinoco-modules" diff --git a/packages/orinoco/orinoco-modules_0.15rc2.bb b/packages/orinoco/orinoco-modules_0.15rc2.bb index ba814e2e4d..26cb60473e 100644 --- a/packages/orinoco/orinoco-modules_0.15rc2.bb +++ b/packages/orinoco/orinoco-modules_0.15rc2.bb @@ -5,7 +5,7 @@ PRIORITY = "optional" PROVIDES = "spectrum-modules" MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>" LICENSE = "GPL" -PR = "r3" +PR = "r4" # seems to cause problems on arm DEFAULT_PREFERENCE_arm = "-1" @@ -26,13 +26,24 @@ do_compile_prepend() { install ${WORKDIR}/spectrum_fw.h ${S}/ } -do_install() { - install -d ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/net/wireless +do_install() { + install -d ${D}/lib/modules/${KERNEL_VERSION}/net/ install -d ${D}/etc/pcmcia - install -m 0644 *.o ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/net/wireless/ + install -m 0644 *${KERNEL_OBJECT_SUFFIX} ${D}/lib/modules/${KERNEL_VERSION}/net/ install -m 0644 ${WORKDIR}/spectrum.conf ${D}/etc/pcmcia/ install -m 0644 hermes.conf ${D}/etc/pcmcia/ - install -d ${D}/etc/modutils - install -m 0644 ${WORKDIR}/orinoco_cs.conf ${D}/etc/modutils/ + install -d ${D}/etc/modutils + install -m 0644 ${WORKDIR}/orinoco_cs.conf ${D}/etc/modutils/ } +PACKAGES = "orinoco-modules-cs orinoco-modules-pci orinoco-modules-usb orinoco-modules-nortel orinoco-modules" +FILES_orinoco-modules-cs = "/lib/modules/${KERNEL_VERSION}/net/*_cs${KERNEL_OBJECT_SUFFIX} /${sysconfdir}" +FILES_orinoco-modules-pci = "/lib/modules/${KERNEL_VERSION}/net/orinoco_p*${KERNEL_OBJECT_SUFFIX}" +FILES_orinoco-modules-usb = "/lib/modules/${KERNEL_VERSION}/net/*_usb${KERNEL_OBJECT_SUFFIX}" +FILES_orinoco-modules-nortel = "/lib/modules/${KERNEL_VERSION}/net/orinoco_tmd${KERNEL_OBJECT_SUFFIX} \ + /lib/modules/${KERNEL_VERSION}/net/orinoco_nortel${KERNEL_OBJECT_SUFFIX}" +FILES_orinoco-modules = "/lib/modules/" +RDEPENDS_orinoco-modules-cs = "orinoco-modules" +RDEPENDS_orinoco-modules-pci = "orinoco-modules" +RDEPENDS_orinoco-modules-usb = "orinoco-modules" +RDEPENDS_orinoco-modules-nortel = "orinoco-modules" diff --git a/packages/orinoco/orinoco-modules_20050101.bb b/packages/orinoco/orinoco-modules_20050101.bb index e69de29bb2..26f6aef33c 100644 --- a/packages/orinoco/orinoco-modules_20050101.bb +++ b/packages/orinoco/orinoco-modules_20050101.bb @@ -0,0 +1,51 @@ +DESCRIPTION = "A driver for wireless LAN cards based on Hermes(Orinoco) cards. \ +Also contains support for cards using downloadable firmware, i.e. the Symbol/Socket family." +SECTION = "kernel/modules" +PRIORITY = "optional" +PROVIDES = "spectrum-modules" +MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>" +LICENSE = "GPL" +CVSDATE = "${PV}" +PR = "r1" + +# seems to cause problems on arm +DEFAULT_PREFERENCE_arm = "-1" + +# doesnt help :( +export EXTRACFLAGS = "-mstructure-size-boundary=32" + +SRC_URI = "cvs://anoncvs:@savannah.gnu.org/cvsroot/orinoco;module=orinoco;method=ext;rsh=ssh \ + file://list-move.patch;patch=1 \ + file://spectrum-firmware.patch;patch=1 \ + file://spectrum.conf \ + file://spectrum_fw.h \ + file://orinoco_cs.conf" +S = "${WORKDIR}/orinoco" + +inherit module + +do_compile_prepend() { + install ${WORKDIR}/spectrum_fw.h ${S}/ +} + +do_install() { + install -d ${D}/lib/modules/${KERNEL_VERSION}/net/ + install -d ${D}/etc/pcmcia + install -m 0644 *${KERNEL_OBJECT_SUFFIX} ${D}/lib/modules/${KERNEL_VERSION}/net/ + install -m 0644 ${WORKDIR}/spectrum.conf ${D}/etc/pcmcia/ + install -m 0644 hermes.conf ${D}/etc/pcmcia/ + install -d ${D}/etc/modutils + install -m 0644 ${WORKDIR}/orinoco_cs.conf ${D}/etc/modutils/ +} + +PACKAGES = "orinoco-modules-cs orinoco-modules-pci orinoco-modules-usb orinoco-modules-nortel orinoco-modules" +FILES_orinoco-modules-cs = "/lib/modules/${KERNEL_VERSION}/net/*_cs${KERNEL_OBJECT_SUFFIX} /${sysconfdir}" +FILES_orinoco-modules-pci = "/lib/modules/${KERNEL_VERSION}/net/orinoco_p*${KERNEL_OBJECT_SUFFIX}" +FILES_orinoco-modules-usb = "/lib/modules/${KERNEL_VERSION}/net/*_usb${KERNEL_OBJECT_SUFFIX}" +FILES_orinoco-modules-nortel = "/lib/modules/${KERNEL_VERSION}/net/orinoco_tmd${KERNEL_OBJECT_SUFFIX} \ + /lib/modules/${KERNEL_VERSION}/net/orinoco_nortel${KERNEL_OBJECT_SUFFIX}" +FILES_orinoco-modules = "/lib/modules/" +RDEPENDS_orinoco-modules-cs = "orinoco-modules" +RDEPENDS_orinoco-modules-pci = "orinoco-modules" +RDEPENDS_orinoco-modules-usb = "orinoco-modules" +RDEPENDS_orinoco-modules-nortel = "orinoco-modules" |