[oe-commits] org.oe.dev madwifi-ng: Fixed little-endian build
rwhitby commit
openembedded-commits at lists.openembedded.org
Mon Feb 11 13:50:28 UTC 2008
madwifi-ng: Fixed little-endian build
Author: rwhitby at nslu2-linux.org
Branch: org.openembedded.dev
Revision: 4d12ac0dd5307f9bcec1484b454e1c850be89d62
ViewMTN: http://monotone.openembedded.org/revision/info/4d12ac0dd5307f9bcec1484b454e1c850be89d62
Files:
1
packages/madwifi/files/30-define-ioreadwrite32be-for-little-endian-too.patch
packages/madwifi/madwifi-ng_r3314-20080131.bb
Diffs:
#
# mt diff -rbc01c4748de2fca72a8f78103913c6ae70c105e0 -r4d12ac0dd5307f9bcec1484b454e1c850be89d62
#
#
#
# add_file "packages/madwifi/files/30-define-ioreadwrite32be-for-little-endian-too.patch"
# content [1b51cd6c2bc389a29f2144db569945f751b30fea]
#
# patch "packages/madwifi/madwifi-ng_r3314-20080131.bb"
# from [7fbe2784376835213b3927fcecfa9357dc5b7121]
# to [aa87cb14b8005f3b927e4701b1ae845bf2099ec2]
#
============================================================
--- packages/madwifi/files/30-define-ioreadwrite32be-for-little-endian-too.patch 1b51cd6c2bc389a29f2144db569945f751b30fea
+++ packages/madwifi/files/30-define-ioreadwrite32be-for-little-endian-too.patch 1b51cd6c2bc389a29f2144db569945f751b30fea
@@ -0,0 +1,13 @@
+Reported as http://madwifi.org/ticket/1783 ...
+
+--- madwifi-ng-r3314-20080131/ath_hal/ah_os.h~ 2007-11-23 20:08:18.000000000 +1030
++++ madwifi-ng-r3314-20080131/ath_hal/ah_os.h 2008-02-11 23:12:11.000000000 +1030
+@@ -168,7 +168,7 @@
+ * for the second time, so the native implementations should be preferred.
+ */
+ #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,12)) && \
+- !defined(CONFIG_GENERIC_IOMAP) && (AH_BYTE_ORDER == AH_BIG_ENDIAN) && \
++ !defined(CONFIG_GENERIC_IOMAP) && \
+ !defined(__mips__) && !defined(__hppa__) && !defined(__powerpc__)
+ # ifndef iowrite32be
+ # define iowrite32be(_val, _addr) iowrite32(swab32((_val)), (_addr))
============================================================
--- packages/madwifi/madwifi-ng_r3314-20080131.bb 7fbe2784376835213b3927fcecfa9357dc5b7121
+++ packages/madwifi/madwifi-ng_r3314-20080131.bb aa87cb14b8005f3b927e4701b1ae845bf2099ec2
@@ -9,5 +9,9 @@ require madwifi-ng_r.inc
require madwifi-ng_r.inc
+SRC_URI += " \
+ file://30-define-ioreadwrite32be-for-little-endian-too.patch;patch=1 \
+ "
+
# PR set after the include, to override what's set in the included file.
+PR = "r6"
-# PR = "r1"
More information about the Openembedded-commits
mailing list