Use POSIX preferred (and easier to read) $() form rather than ``
[madwifi/.git] / ath_hal / Makefile
index b914aa0796d323d092c7196d91d5288da9cd269a..d2722c057dbb6eddae63a3f1156cd865f6ff780c 100644 (file)
@@ -85,10 +85,10 @@ ifdef LINUX24
 else
        $(call if_changed,uudecode)
 endif
-       # Replace as many hashed names as possible with meaningful
-       # ones in the symbol table of the binary kernel module for HAL.
+# Replace as many hashed names as possible with meaningful
+# ones in the symbol table of the binary kernel module for HAL.
        $(filter-out -O binary -S,$(OBJCOPY)) \
-               `cat $(TOP)/scripts/hal_unmangle.objcopy` \
+               $$(cat $(TOP)/scripts/hal_unmangle.objcopy) \
                $(obj)/$(TARGET).hal.o
 
 .PHONY: install
@@ -102,7 +102,7 @@ endif
 .PHONY: clean
 clean:
        rm -f *~ *.o *.ko *.mod.c uudecode .*.cmd
-       rm -f .depend .version .*.o.flags .*.o.d
+       rm -f modules.order .depend .version .*.o.flags .*.o.d
        rm -rf .tmp_versions
 
 ath_hal.o: $(addprefix $(obj)/,$(ath_hal-objs))