Index: ath/Makefile
===================================================================
--- ath/Makefile	(revision 1627)
+++ ath/Makefile	(working copy)
@@ -75,6 +75,8 @@
 
 -include $(TOPDIR)/Rules.make
 
+uudecode := $(obj)/uudecode
+
 all:
 	$(MAKE) -C $(KERNELPATH) SUBDIRS=$(shell pwd) modules
 
@@ -83,9 +85,9 @@
 	$(HOSTCC) $(HOSTCFLAGS) -o $@ $<
 endif
 
-$(obj)/${TARGET}.hal.o: ${HAL}/public/${TARGET}.hal.o.uu $(obj)/uudecode
+$(obj)/${TARGET}.hal.o: ${HAL}/public/${TARGET}.hal.o.uu $(uudecode)
 	$(Q)echo "deps_$@ :=" >$(@D)/.$(@F).cmd
-	$(Q)$(obj)/uudecode -o $@ $<
+	$(Q)$(uudecode) -o $@ $<
 
 install:
 	test -d ${DESTDIR}/${KMODPATH} || mkdir -p ${DESTDIR}/${KMODPATH}
Index: ath/Makefile.kernel
===================================================================
--- ath/Makefile.kernel	(revision 1627)
+++ ath/Makefile.kernel	(working copy)
@@ -88,6 +88,8 @@
 	$(HOSTCC) $(HOSTCFLAGS) -o $@ $<
 endif
 
-$(obj)/${TARGET}.hal.o: ${HAL}/public/${TARGET}.hal.o.uu $(obj)/uudecode
+uudecode := $(obj)/uudecode
+
+$(obj)/${TARGET}.hal.o: ${HAL}/public/${TARGET}.hal.o.uu $(uudecode)
 	$(Q)echo "deps_$@ :=" >$(@D)/.$(@F).cmd
-	$(Q)$(obj)/uudecode -o $@ $<
+	$(Q)$(uudecode) -o $@ $<

