summaryrefslogtreecommitdiff
path: root/atmelwlandriver/atmelwlandriver_3.3.5.6.oe
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2004-10-11 15:05:02 +0000
committerMatthias Hentges <oe@hentges.net>2004-10-11 15:05:02 +0000
commitda9e38236f66050e87d8bd2c8f05f2326282aa58 (patch)
treeb9bfd64e913f7d98403f7105f43a7ba6bf5f8469 /atmelwlandriver/atmelwlandriver_3.3.5.6.oe
parenteaf972b286b334de7e24cf399de92627f89f3175 (diff)
More section fixes
BKrev: 416aa11e6aH4cgLtXbfv7aBu9HJHoQ
Diffstat (limited to 'atmelwlandriver/atmelwlandriver_3.3.5.6.oe')
-rw-r--r--atmelwlandriver/atmelwlandriver_3.3.5.6.oe38
1 files changed, 38 insertions, 0 deletions
diff --git a/atmelwlandriver/atmelwlandriver_3.3.5.6.oe b/atmelwlandriver/atmelwlandriver_3.3.5.6.oe
index e69de29bb2..62da93a3fd 100644
--- a/atmelwlandriver/atmelwlandriver_3.3.5.6.oe
+++ b/atmelwlandriver/atmelwlandriver_3.3.5.6.oe
@@ -0,0 +1,38 @@
+SRC_URI = "${SOURCEFORGE_MIRROR}/atmelwlandriver/atmelwlandriver-${PV}.tar.bz2 \
+ file://dotconfig \
+ file://pcmf502rd.conf \
+ file://makefile.patch;patch=1"
+S = "${WORKDIR}/atmelwlandriver"
+
+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}/lib/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}/etc/pcmcia
+ install -m 0644 ${WORKDIR}/pcmf502rd.conf ${D}/etc/pcmcia/
+
+ # remove any maps that were installed
+ rm -f ${D}/lib/modules/${KERNEL_VERSION}/drivers/net/wireless/atmel/*.map
+}