summaryrefslogtreecommitdiff
path: root/packages/madwifi/files/slugos-VFP-wackelf.patch
diff options
context:
space:
mode:
authorMike Westerhof <mwester@dls.net>2007-01-04 06:37:30 +0000
committerMike Westerhof <mwester@dls.net>2007-01-04 06:37:30 +0000
commitabcb81efda9e55f18e9c782aebd93f067e592be5 (patch)
treeedd0ef94d9b4ff4ac484dfb620d5f7fcab9da267 /packages/madwifi/files/slugos-VFP-wackelf.patch
parent929c1e08c7b22d2a621c9de8867f8ddf4633cb5a (diff)
madwifi-ng: add slugos support and bump to latest snapshot
Diffstat (limited to 'packages/madwifi/files/slugos-VFP-wackelf.patch')
-rw-r--r--packages/madwifi/files/slugos-VFP-wackelf.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/madwifi/files/slugos-VFP-wackelf.patch b/packages/madwifi/files/slugos-VFP-wackelf.patch
new file mode 100644
index 0000000000..a47eed79e7
--- /dev/null
+++ b/packages/madwifi/files/slugos-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)