[oe-commits] org.oe.dreambox madwifi: update to new hal
tmbinc commit
oe at amethyst.openembedded.net
Mon Sep 1 17:45:30 UTC 2008
madwifi: update to new hal
Author: tmbinc at openembedded.org
Branch: org.openembedded.dreambox
Revision: 4eddb355e2645b942d27b5f9c5383bb7e24cbb5f
ViewMTN: http://monotone.openembedded.org/revision/info/4eddb355e2645b942d27b5f9c5383bb7e24cbb5f
Files:
1
packages/madwifi/files/30-define-ioreadwrite32be-for-little-endian-too.patch
packages/madwifi/files/40-fix-mips.patch
packages/madwifi/files/40-fix-warnings.patch
packages/madwifi/madwifi-ng_r3314-20080131.bb
Diffs:
#
# mt diff -r27389fbfa69c2a75a007984e85ab0e3cd510849b -r4eddb355e2645b942d27b5f9c5383bb7e24cbb5f
#
#
#
# delete "packages/madwifi/files/30-define-ioreadwrite32be-for-little-endian-too.patch"
#
# delete "packages/madwifi/files/40-fix-mips.patch"
#
# add_file "packages/madwifi/files/40-fix-warnings.patch"
# content [d324a6d0891515f4af78cd5e95af594f847ca218]
#
# patch "packages/madwifi/madwifi-ng_r3314-20080131.bb"
# from [2d1d01ef5456ba37a9aa2fcf2153e3e5ae3d90ba]
# to [c917297566fa0eb51ed802b9d9e4c7a9d0a8988a]
#
============================================================
--- packages/madwifi/files/40-fix-warnings.patch d324a6d0891515f4af78cd5e95af594f847ca218
+++ packages/madwifi/files/40-fix-warnings.patch d324a6d0891515f4af78cd5e95af594f847ca218
@@ -0,0 +1,13 @@
+Index: madwifi-ng-r3314-20080131/ath/if_athvar.h
+===================================================================
+--- madwifi-ng-r3314-20080131.orig/ath/if_athvar.h 2008-06-12 03:19:30.000000000 +0200
++++ madwifi-ng-r3314-20080131/ath/if_athvar.h 2008-06-12 03:19:41.000000000 +0200
+@@ -522,7 +522,7 @@
+ atomic_t av_beacon_alloc; /* set to 1 when the next beacon needs
+ to be recomputed */
+ #else
+- unsigned int av_beacon_alloc;
++ unsigned long av_beacon_alloc;
+ #endif
+ };
+ #define ATH_VAP(_v) ((struct ath_vap *)(_v))
============================================================
--- packages/madwifi/madwifi-ng_r3314-20080131.bb 2d1d01ef5456ba37a9aa2fcf2153e3e5ae3d90ba
+++ packages/madwifi/madwifi-ng_r3314-20080131.bb c917297566fa0eb51ed802b9d9e4c7a9d0a8988a
@@ -6,10 +6,23 @@ require madwifi-ng_r.inc
require madwifi-ng_r.inc
-SRC_URI += " \
- file://30-define-ioreadwrite32be-for-little-endian-too.patch;patch=1 \
- file://40-fix-mips.patch;patch=1 \
- "
+# PR set after the include, to override what's set in the included file.
+PR = "r7"
+SRC_URI += "http://sources.dreamboxupdate.com/download/snapshots/openwrt_madwifi_patches_20080811.tar.bz2 \
+ file://40-fix-warnings.patch;patch=1;pnum=1 \
+ http://sources.dreamboxupdate.com/download/snapshots/450-new_madwifi_mipsel_hal.patch.bz2;patch=1"
+
+do_munge() {
+ CUR=`pwd`
+ cd ${S}
+ for i in `ls ${WORKDIR}/openwrt_madwifi_patches | grep ".patch" | sort -n | xargs`; do
+ oenote "Applying openwrt madwifi patch '$i'";
+ patch -p1 < ${WORKDIR}/openwrt_madwifi_patches/$i;
+ done;
+ cd $CUR
+}
+
+addtask munge before do_patch after do_unpack
+
+
-# PR set after the include, to override what's set in the included file.
-PR = "r6"
More information about the Openembedded-commits
mailing list