Makefile: Install ath9k_htc firmware directly in $(prefix)
authorJason Self <j@jxself.org>
Wed, 11 Apr 2018 17:31:16 +0000 (10:31 -0700)
committerJason Self <j@jxself.org>
Wed, 11 Apr 2018 17:31:16 +0000 (10:31 -0700)
Due to a report that the kernel isn't loading them when in a
subdirectory.

Makefile

index 5c1ddf2c136ed64f58701264578e794d83df68a6..f11189a39c6f49535817ecf51e0c97d99b0a6300 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -90,8 +90,8 @@ clean:
        cd usbdux && $(MAKE) -f Makefile_dux clean
 
 install:
-       if [ -a ath9k_htc/target_firmware/htc_9271.fw ]; then $(install_program) -D ath9k_htc/target_firmware/htc_9271.fw $(prefix)/ath9k_htc/htc_9271.fw; fi;
-       if [ -a ath9k_htc/target_firmware/htc_7010.fw ]; then $(install_program) -D ath9k_htc/target_firmware/htc_7010.fw $(prefix)/ath9k_htc/htc_7010.fw; fi;
+       if [ -a ath9k_htc/target_firmware/htc_9271.fw ]; then $(install_program) -D ath9k_htc/target_firmware/htc_9271.fw $(prefix)/htc_9271.fw; fi;
+       if [ -a ath9k_htc/target_firmware/htc_7010.fw ]; then $(install_program) -D ath9k_htc/target_firmware/htc_7010.fw $(prefix)/htc_7010.fw; fi;
        if [ -a av7110/bootcode.bin ]; then $(install_program) -D av7110/bootcode.bin $(prefix)/av7110/bootcode.bin; fi;
        if [ -a cis/3CCFEM556.cis ]; then $(install_program) -D cis/3CCFEM556.cis $(prefix)/cis/3CCFEM556.cis; fi;
        if [ -a cis/3CXEM556.cis ]; then $(install_program) -D cis/3CXEM556.cis $(prefix)/cis/3CXEM556.cis; fi;