summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/madwifi/madwifi-ng-r1844-20061208/.mtn2git_empty0
-rw-r--r--packages/madwifi/madwifi-ng-r1844-20061208/10-xscale-be-elf-copts.patch12
-rw-r--r--packages/madwifi/madwifi-ng-r1844-20061208/10-xscale-le-elf-copts.patch10
-rw-r--r--packages/madwifi/madwifi-ng_r1844-20061208.bb3
4 files changed, 25 insertions, 0 deletions
diff --git a/packages/madwifi/madwifi-ng-r1844-20061208/.mtn2git_empty b/packages/madwifi/madwifi-ng-r1844-20061208/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/madwifi/madwifi-ng-r1844-20061208/.mtn2git_empty
diff --git a/packages/madwifi/madwifi-ng-r1844-20061208/10-xscale-be-elf-copts.patch b/packages/madwifi/madwifi-ng-r1844-20061208/10-xscale-be-elf-copts.patch
new file mode 100644
index 0000000000..f285540d06
--- /dev/null
+++ b/packages/madwifi/madwifi-ng-r1844-20061208/10-xscale-be-elf-copts.patch
@@ -0,0 +1,12 @@
+Index: madwifi-ng-r1844-20061208/hal/public/xscale-be-elf.inc
+===================================================================
+--- madwifi-ng-r1844-20061208.orig/hal/public/xscale-be-elf.inc
++++ madwifi-ng-r1844-20061208/hal/public/xscale-be-elf.inc
+@@ -77,5 +77,5 @@ AH_REGOPS_FUNC=1
+
+ LDOPTS= -EB
+ COPTS+= -DAH_BYTE_ORDER=AH_BIG_ENDIAN
+-COPTS+= -march=armv4 -mbig-endian -fno-strict-aliasing -fno-common -mapcs-32 \
+- -mtune=xscale -mshort-load-bytes
++COPTS+= -march=armv4 -mbig-endian -fno-strict-aliasing -fno-common \
++ -mtune=xscale -msoft-float -mfp=2
diff --git a/packages/madwifi/madwifi-ng-r1844-20061208/10-xscale-le-elf-copts.patch b/packages/madwifi/madwifi-ng-r1844-20061208/10-xscale-le-elf-copts.patch
new file mode 100644
index 0000000000..3224324699
--- /dev/null
+++ b/packages/madwifi/madwifi-ng-r1844-20061208/10-xscale-le-elf-copts.patch
@@ -0,0 +1,10 @@
+Index: madwifi-ng-r1844-20061208/hal/public/xscale-le-elf.inc
+===================================================================
+--- madwifi-ng-r1844-20061208.orig/hal/public/xscale-le-elf.inc
++++ madwifi-ng-r1844-20061208/hal/public/xscale-le-elf.inc
+@@ -79,4 +79,4 @@ AH_REGOPS_FUNC=1
+ LDOPTS= -EL
+ COPTS+= -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN
+ COPTS+= -march=armv4 -mlittle-endian -fno-strict-aliasing -fno-common \
+- -mapcs-32 -mtune=xscale -mshort-load-bytes
++ -mtune=xscale -msoft-float -mfp=2
diff --git a/packages/madwifi/madwifi-ng_r1844-20061208.bb b/packages/madwifi/madwifi-ng_r1844-20061208.bb
new file mode 100644
index 0000000000..42d8ccafe4
--- /dev/null
+++ b/packages/madwifi/madwifi-ng_r1844-20061208.bb
@@ -0,0 +1,3 @@
+PR = "r0"
+
+require madwifi-ng_r.inc