summaryrefslogtreecommitdiff
path: root/recipes/madwifi/files/20-xscale-VFP-wackelf.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/madwifi/files/20-xscale-VFP-wackelf.patch')
-rw-r--r--recipes/madwifi/files/20-xscale-VFP-wackelf.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes/madwifi/files/20-xscale-VFP-wackelf.patch b/recipes/madwifi/files/20-xscale-VFP-wackelf.patch
new file mode 100644
index 0000000000..a47eed79e7
--- /dev/null
+++ b/recipes/madwifi/files/20-xscale-VFP-wackelf.patch
@@ -0,0 +1,20 @@
+--- madwifi.orig/ath_hal/Makefile 2007-01-03 23:44:10.000000000 -0600
++++ madwifi/ath_hal/Makefile 2007-01-03 23:47:55.000000000 -0600
+@@ -81,12 +81,16 @@
+ quiet_cmd_uudecode = UUDECODE $@
+ cmd_uudecode = $(obj)/uudecode -o $@ $<
+
+-$(obj)/$(TARGET).hal.o: $(HAL)/public/$(TARGET).hal.o.uu $(obj)/uudecode
++$(obj)/wackelf: $(HAL)/public/wackelf.c
++ $(HOSTCC) $(HOSTCFLAGS) -o $@ $<
++
++$(obj)/$(TARGET).hal.o: $(HAL)/public/$(TARGET).hal.o.uu $(obj)/uudecode $(obj)/wackelf
+ ifdef LINUX24
+ $(Q)$(obj)/uudecode -o $@ $<
+ else
+ $(call if_changed,uudecode)
+ endif
++ $(Q)$(obj)/wackelf -fpa $@
+
+ install:
+ test -d $(DESTDIR)/$(KMODPATH) || mkdir -p $(DESTDIR)/$(KMODPATH)