huge madwifi update (work in progress, disabled by default, compiles but breaks at...
[openwrt/svn-archive/archive.git] / package / madwifi / patches-r3776 / 331-linux24_fix.patch
1 Index: madwifi-trunk-r3776/ath_hal/Makefile
2 ===================================================================
3 --- madwifi-trunk-r3776.orig/ath_hal/Makefile 2008-07-17 00:21:30.000000000 +0200
4 +++ madwifi-trunk-r3776/ath_hal/Makefile 2008-07-17 04:13:34.000000000 +0200
5 @@ -79,10 +79,11 @@
6 quiet_cmd_uudecode = UUDECODE $@
7 cmd_uudecode = $(obj)/uudecode -o $@ $<
8
9 -$(obj)/$(TARGET).hal.o: $(HAL)/public/$(TARGET).hal.o.uu $(obj)/uudecode
10 ifdef LINUX24
11 +$(TARGET).hal.o: $(HAL)/public/$(TARGET).hal.o.uu $(obj)/uudecode
12 $(Q)$(obj)/uudecode -o $@ $<
13 else
14 +$(obj)/$(TARGET).hal.o: $(HAL)/public/$(TARGET).hal.o.uu $(obj)/uudecode
15 $(call if_changed,uudecode)
16 endif
17 # Replace as many hashed names as possible with meaningful