diff options
author | Koen Kooi <koen@openembedded.org> | 2005-12-05 22:26:23 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-12-05 22:26:23 +0000 |
commit | 112be8a44dd2012425679dbec81f950c06069859 (patch) | |
tree | f4b888eff68f8ad0afd9c3b350f94dbeb20ab6bf /packages/atmelwlandriver/atmelwlandriver_3.4.1.0.bb | |
parent | 4f7d64faae37bb9da46b244cd1872e4d52351107 (diff) |
atmelwlandriver 3.4.1.0: add patches to support iPAQ h5xxx, courtesy Erik Hovland
Diffstat (limited to 'packages/atmelwlandriver/atmelwlandriver_3.4.1.0.bb')
-rw-r--r-- | packages/atmelwlandriver/atmelwlandriver_3.4.1.0.bb | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/packages/atmelwlandriver/atmelwlandriver_3.4.1.0.bb b/packages/atmelwlandriver/atmelwlandriver_3.4.1.0.bb index ad07c26b53..7da172aafd 100644 --- a/packages/atmelwlandriver/atmelwlandriver_3.4.1.0.bb +++ b/packages/atmelwlandriver/atmelwlandriver_3.4.1.0.bb @@ -1,18 +1,28 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/atmelwlandriver/atmelwlandriver-${PV}.tar.bz2 \ file://dotconfig \ file://pcmf502rd.conf \ - file://makefile.patch;patch=1" + file://makefile.patch;patch=1 \ + file://add-compaq-usb-ids.patch;patch=1 \ + file://power-on-and-leds.patch;patch=1 \ + file://fix-kernel-version-test-for-hh.patch;patch=1" S = "${WORKDIR}/atmelwlandriver" LICENSE = "GPL" +PR = "r1" inherit module SECTION = "base" +PACKAGES = "atmelwlandriver-pcmcia atmelwlandriver-usb" + +FILES_atmelwlandriver-pcmcia = "${base_libdir}/modules/${KERNEL_VERSION}/drivers/net/wireless/atmel/pcmf502rd.o ${sysconfdir}/pcmcia/pcmf502rd.conf" +FILES_atmelwlandriver-usb = "${base_libdir}/modules/${KERNEL_VERSION}/drivers/net/wireless/atmel/usbvnetr.o" + 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" +CFLAGS_pcmcia = "-DLINUX_OS -D__KERNEL__ -DMODULE -I${S}/src/includes -I${S}/src/includes/pcmcia -I${STAGING_KERNEL_DIR}/include" +CFLAGS_usb = "-DLINUX_OS -D__KERNEL__ -DMODULE -I${S}/src/includes -I${S}/src/includes/usb -I${STAGING_KERNEL_DIR}/include" do_compile() { export INC="${S}/src/includes" @@ -20,14 +30,14 @@ do_compile() { export KERNEL_PATH="${STAGING_KERNEL_DIR}" export KERNEL_SRC="${STAGING_KERNEL_DIR}" export CC="${KERNEL_CC}" + export CCC="${KERNEL_CC}" export LD="${KERNEL_LD}" export KERNEL_VERSION="${KERNEL_VERSION}" export TOPDIR="${S}" - unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS + unset CFLAGS CCFLAGS 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- + oe_runmake -C src/Pcmcia_Pci final CFLAGS:='${CFLAGS_pcmcia} -DATMEL_WLAN -DRFMD -DINT_ROAM -DREV_D' MODULE:='pcmf502rd' LIB:=-REVD- + oe_runmake -C src/usb final CFLAGS:='${CFLAGS_usb} -DATMEL_WLAN -DRFMD' MODULE:='usbvnetr' } do_install() { |