summaryrefslogtreecommitdiff
path: root/packages/madwifi/files/20-xscale-VFP-wackelf-v2.patch
blob: ed805575baad0f02c8c943cc5ba32a0e75d43db9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- madwifi-trunk-r3837-20080802/ath_hal/Makefile.orig	2008-09-06 22:23:21.000000000 -0500
+++ madwifi-trunk-r3837-20080802/ath_hal/Makefile	2008-09-06 22:29:50.000000000 -0500
@@ -82,12 +82,16 @@ endif
 quiet_cmd_uudecode = UUDECODE $@
       cmd_uudecode = $(obj)/uudecode -o $@ $<
 
-$(filter-out ./,$(obj)/)$(HALBIN): $(HAL)/public/$(TARGET).hal.o.uu $(obj)/uudecode
+$(obj)/wackelf: $(HAL)/public/wackelf.c
+	$(HOSTCC) $(HOSTCFLAGS) -o $@ $<
+
+$(filter-out ./,$(obj)/)$(HALBIN): $(HAL)/public/$(TARGET).hal.o.uu $(obj)/uudecode $(obj)/wackelf
 ifdef LINUX24
 	$(cmd_uudecode)
 else
 	$(call if_changed,uudecode)
 endif
+	$(obj)/wackelf -fpa $@
 
 # Replace as many hashed names as possible with meaningful
 # ones in the symbol table of the binary kernel module for HAL.