diff options
author | Rene Wagner <rw@handhelds.org> | 2006-05-13 15:42:03 +0200 |
---|---|---|
committer | Rene Wagner <rw@handhelds.org> | 2006-05-13 15:42:03 +0200 |
commit | 5a5346dfbec459c10d9e61e16e125b83975a1ef1 (patch) | |
tree | 342e16f3fe790d03b93294344e6154459888939f /org.handhelds.familiar/packages/atmelwlandriver |
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e35772d79306d1d9de19c12b23681618532d.
Diffstat (limited to 'org.handhelds.familiar/packages/atmelwlandriver')
7 files changed, 173 insertions, 0 deletions
diff --git a/org.handhelds.familiar/packages/atmelwlandriver/atmelwlandriver-3.3.5.6/dotconfig b/org.handhelds.familiar/packages/atmelwlandriver/atmelwlandriver-3.3.5.6/dotconfig new file mode 100644 index 0000000..c08a063 --- /dev/null +++ b/org.handhelds.familiar/packages/atmelwlandriver/atmelwlandriver-3.3.5.6/dotconfig @@ -0,0 +1,31 @@ +CONFIG_PCI= + +#PCMCIA Drivers +CONFIG_PCMCIA=y +CONFIG_PCMCIA_502A=y +CONFIG_PCMCIA_3COM=y +CONFIG_PCMCIA_502AD=y +CONFIG_PCMCIA_502AE=y +CONFIG_PCMCIA_504=y +CONFIG_PCMCIA_504_2958=y +CONFIG_PCMCIA_504A_2958=y +CONFIG_PCI_506=n + +#USB Drivers +CONFIG_USB=n +CONFIG_USB_503A_RFMD=n +CONFIG_USB_505=n +CONFIG_USB_505A=n +CONFIG_USB_505_2958=n + +#Applications Configuration +CONFIG_APPS= +CONFIG_CMD_LINE=n +CONFIG_Winter=n +CONFIG_FW_UPGRADE=y +CONFIG_XAPP=n + +DEBUG= +CONFIG_MODVERSIONS= +# runtime variables. Generated by setup.sh +KERNEL_SRC = diff --git a/org.handhelds.familiar/packages/atmelwlandriver/atmelwlandriver-3.3.5.6/makefile.patch b/org.handhelds.familiar/packages/atmelwlandriver/atmelwlandriver-3.3.5.6/makefile.patch new file mode 100644 index 0000000..4e6efe1 --- /dev/null +++ b/org.handhelds.familiar/packages/atmelwlandriver/atmelwlandriver-3.3.5.6/makefile.patch @@ -0,0 +1,16 @@ +--- atmelwlandriver/src/Pcmcia_Pci/Makefile~ 2004-06-05 05:11:18.000000000 +0100 ++++ atmelwlandriver/src/Pcmcia_Pci/Makefile 2004-07-03 17:23:35.000000000 +0100 +@@ -72,11 +72,11 @@ + @for i in $(PCMCIA-y); do make $$i || exit 1; done + + final: $(objs) $(DEBUGORNO) fastvnet_cs.o +- ld -r -o $(OBJDIR)/$(MODULE).o fastvnet_cs.o $(DEBUGORNO) $(objs) ++ $(LD) -r -o $(OBJDIR)/$(MODULE).o fastvnet_cs.o $(DEBUGORNO) $(objs) + nm $(OBJDIR)/$(MODULE).o |sort -u >$(OBJDIR)/$(patsubst %.o,%.map,$(MODULE).o); + ifeq '$(NEW_KERN)' 'y' + $(CC) $(MODOFLAGS) -c -o $(OBJDIR)/$(MAGICMOD).o $(MAGICMOD).c +- ld -r -o $(OBJDIR)/$(MODULE).ko $(OBJDIR)/$(MODULE).o $(OBJDIR)/$(MAGICMOD).o ++ $(LD) -r -o $(OBJDIR)/$(MODULE).ko $(OBJDIR)/$(MODULE).o $(OBJDIR)/$(MAGICMOD).o + endif + + rfmdD: diff --git a/org.handhelds.familiar/packages/atmelwlandriver/atmelwlandriver-3.4.1.0/dotconfig b/org.handhelds.familiar/packages/atmelwlandriver/atmelwlandriver-3.4.1.0/dotconfig new file mode 100644 index 0000000..c08a063 --- /dev/null +++ b/org.handhelds.familiar/packages/atmelwlandriver/atmelwlandriver-3.4.1.0/dotconfig @@ -0,0 +1,31 @@ +CONFIG_PCI= + +#PCMCIA Drivers +CONFIG_PCMCIA=y +CONFIG_PCMCIA_502A=y +CONFIG_PCMCIA_3COM=y +CONFIG_PCMCIA_502AD=y +CONFIG_PCMCIA_502AE=y +CONFIG_PCMCIA_504=y +CONFIG_PCMCIA_504_2958=y +CONFIG_PCMCIA_504A_2958=y +CONFIG_PCI_506=n + +#USB Drivers +CONFIG_USB=n +CONFIG_USB_503A_RFMD=n +CONFIG_USB_505=n +CONFIG_USB_505A=n +CONFIG_USB_505_2958=n + +#Applications Configuration +CONFIG_APPS= +CONFIG_CMD_LINE=n +CONFIG_Winter=n +CONFIG_FW_UPGRADE=y +CONFIG_XAPP=n + +DEBUG= +CONFIG_MODVERSIONS= +# runtime variables. Generated by setup.sh +KERNEL_SRC = diff --git a/org.handhelds.familiar/packages/atmelwlandriver/atmelwlandriver-3.4.1.0/makefile.patch b/org.handhelds.familiar/packages/atmelwlandriver/atmelwlandriver-3.4.1.0/makefile.patch new file mode 100644 index 0000000..8c72408 --- /dev/null +++ b/org.handhelds.familiar/packages/atmelwlandriver/atmelwlandriver-3.4.1.0/makefile.patch @@ -0,0 +1,11 @@ +--- atmelwlandriver/src/Pcmcia_Pci/Makefile.old 2005-02-06 14:29:48.000000000 +0000 ++++ atmelwlandriver/src/Pcmcia_Pci/Makefile 2005-02-06 14:30:01.000000000 +0000 +@@ -65,7 +65,7 @@ + @for i in $(PCMCIA-y); do make $$i || exit 1; done + + final: $(objs) $(DEBUGORNO) fastvnet_cs.o +- ld -r -o $(OBJDIR)/$(MODULE).o fastvnet_cs.o $(DEBUGORNO) $(objs) ++ $(LD) -r -o $(OBJDIR)/$(MODULE).o fastvnet_cs.o $(DEBUGORNO) $(objs) + nm $(OBJDIR)/$(MODULE).o |sort -u >$(OBJDIR)/$(patsubst %.o,%.map,$(MODULE).o); + + rfmdD: diff --git a/org.handhelds.familiar/packages/atmelwlandriver/atmelwlandriver_3.3.5.6.bb b/org.handhelds.familiar/packages/atmelwlandriver/atmelwlandriver_3.3.5.6.bb new file mode 100644 index 0000000..ad07c26 --- /dev/null +++ b/org.handhelds.familiar/packages/atmelwlandriver/atmelwlandriver_3.3.5.6.bb @@ -0,0 +1,39 @@ +SRC_URI = "${SOURCEFORGE_MIRROR}/atmelwlandriver/atmelwlandriver-${PV}.tar.bz2 \ + file://dotconfig \ + file://pcmf502rd.conf \ + file://makefile.patch;patch=1" +S = "${WORKDIR}/atmelwlandriver" +LICENSE = "GPL" + +inherit module +SECTION = "base" + +do_configure() { + install ${WORKDIR}/dotconfig .config +} + +CFLAGS = "-DLINUX_OS -D__KERNEL__ -DMODULE -I${S}/src/includes -I${S}/src/includes/pcmcia -I${STAGING_KERNEL_DIR}/include" + +do_compile() { + export INC="${S}/src/includes" + export OBJDIR="${D}${base_libdir}/modules/${KERNEL_VERSION}/drivers/net/wireless/atmel/" + export KERNEL_PATH="${STAGING_KERNEL_DIR}" + export KERNEL_SRC="${STAGING_KERNEL_DIR}" + export CC="${KERNEL_CC}" + export LD="${KERNEL_LD}" + export KERNEL_VERSION="${KERNEL_VERSION}" + export TOPDIR="${S}" + unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS + install -d ${OBJDIR} + #oe_runmake -C src/Pcmcia_Pci final CFLAGS:='${CFLAGS} -DATMEL_WLAN -DRFMD -DINT_ROAM' MODULE:='pcmf502r' LIB:=-RFMD- + oe_runmake -C src/Pcmcia_Pci final CFLAGS:='${CFLAGS} -DATMEL_WLAN -DRFMD -DINT_ROAM -DREV_D' MODULE:='pcmf502rd' LIB:=-REVD- + #oe_runmake -C src/Pcmcia_Pci final CFLAGS:='${CFLAGS} -DATMEL_WLAN -DRFMD -DINT_ROAM -DREV_E' MODULE:='pcmf502re' LIB:=-REVE- +} + +do_install() { + install -d ${D}${sysconfdir}/pcmcia + install -m 0644 ${WORKDIR}/pcmf502rd.conf ${D}${sysconfdir}/pcmcia/ + + # remove any maps that were installed + rm -f ${D}${base_libdir}/modules/${KERNEL_VERSION}/drivers/net/wireless/atmel/*.map +} diff --git a/org.handhelds.familiar/packages/atmelwlandriver/atmelwlandriver_3.4.1.0.bb b/org.handhelds.familiar/packages/atmelwlandriver/atmelwlandriver_3.4.1.0.bb new file mode 100644 index 0000000..ad07c26 --- /dev/null +++ b/org.handhelds.familiar/packages/atmelwlandriver/atmelwlandriver_3.4.1.0.bb @@ -0,0 +1,39 @@ +SRC_URI = "${SOURCEFORGE_MIRROR}/atmelwlandriver/atmelwlandriver-${PV}.tar.bz2 \ + file://dotconfig \ + file://pcmf502rd.conf \ + file://makefile.patch;patch=1" +S = "${WORKDIR}/atmelwlandriver" +LICENSE = "GPL" + +inherit module +SECTION = "base" + +do_configure() { + install ${WORKDIR}/dotconfig .config +} + +CFLAGS = "-DLINUX_OS -D__KERNEL__ -DMODULE -I${S}/src/includes -I${S}/src/includes/pcmcia -I${STAGING_KERNEL_DIR}/include" + +do_compile() { + export INC="${S}/src/includes" + export OBJDIR="${D}${base_libdir}/modules/${KERNEL_VERSION}/drivers/net/wireless/atmel/" + export KERNEL_PATH="${STAGING_KERNEL_DIR}" + export KERNEL_SRC="${STAGING_KERNEL_DIR}" + export CC="${KERNEL_CC}" + export LD="${KERNEL_LD}" + export KERNEL_VERSION="${KERNEL_VERSION}" + export TOPDIR="${S}" + unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS + install -d ${OBJDIR} + #oe_runmake -C src/Pcmcia_Pci final CFLAGS:='${CFLAGS} -DATMEL_WLAN -DRFMD -DINT_ROAM' MODULE:='pcmf502r' LIB:=-RFMD- + oe_runmake -C src/Pcmcia_Pci final CFLAGS:='${CFLAGS} -DATMEL_WLAN -DRFMD -DINT_ROAM -DREV_D' MODULE:='pcmf502rd' LIB:=-REVD- + #oe_runmake -C src/Pcmcia_Pci final CFLAGS:='${CFLAGS} -DATMEL_WLAN -DRFMD -DINT_ROAM -DREV_E' MODULE:='pcmf502re' LIB:=-REVE- +} + +do_install() { + install -d ${D}${sysconfdir}/pcmcia + install -m 0644 ${WORKDIR}/pcmf502rd.conf ${D}${sysconfdir}/pcmcia/ + + # remove any maps that were installed + rm -f ${D}${base_libdir}/modules/${KERNEL_VERSION}/drivers/net/wireless/atmel/*.map +} diff --git a/org.handhelds.familiar/packages/atmelwlandriver/pcmf502rd.conf b/org.handhelds.familiar/packages/atmelwlandriver/pcmf502rd.conf new file mode 100644 index 0000000..9098183 --- /dev/null +++ b/org.handhelds.familiar/packages/atmelwlandriver/pcmf502rd.conf @@ -0,0 +1,6 @@ +device "pcmf502rd" + class "network" module "pcmf502rd" + +card "Actiontec 802CAT1" + version "WLAN", "802.11b PC CARD" + bind "pcmf502rd" |