diff --git a/package/madwifi/patches/404-linux24_fix.patch b/package/madwifi/patches/404-linux24_fix.patch index 237bd6e61a..feda6d4e23 100644 --- a/package/madwifi/patches/404-linux24_fix.patch +++ b/package/madwifi/patches/404-linux24_fix.patch @@ -1,13 +1,17 @@ Index: madwifi-trunk-r3314/ath_hal/Makefile =================================================================== ---- madwifi-trunk-r3314.orig/ath_hal/Makefile 2008-06-07 01:33:20.180406306 +0200 -+++ madwifi-trunk-r3314/ath_hal/Makefile 2008-06-07 01:33:25.636717245 +0200 -@@ -78,7 +78,7 @@ +--- madwifi-trunk-r3314.orig/ath_hal/Makefile 2008-06-07 17:08:42.354855646 +0200 ++++ madwifi-trunk-r3314/ath_hal/Makefile 2008-06-07 17:09:03.260046968 +0200 +@@ -78,10 +78,11 @@ quiet_cmd_uudecode = UUDECODE $@ cmd_uudecode = $(obj)/uudecode -o $@ $< -$(obj)/$(TARGET).hal.o: $(HAL)/public/$(TARGET).hal.o.uu $(obj)/uudecode -+$(TARGET).hal.o: $(HAL)/public/$(TARGET).hal.o.uu $(obj)/uudecode ifdef LINUX24 ++$(TARGET).hal.o: $(HAL)/public/$(TARGET).hal.o.uu $(obj)/uudecode $(Q)$(obj)/uudecode -o $@ $< else ++$(obj)/$(TARGET).hal.o: $(HAL)/public/$(TARGET).hal.o.uu $(obj)/uudecode + $(call if_changed,uudecode) + endif +