X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=Makefile;h=5e38d940642e3072f5063301f439814a87ff996e;hb=863feecf15c65b0e8feb2afb2f5c9e69b109eca7;hp=122f659c13a83eda6d4bac50f2278378cc7467ec;hpb=eca74f644f442176c307934fbd97458f3b8ccb0d;p=linux-libre-firmware.git diff --git a/Makefile b/Makefile index 122f659..5e38d94 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 2017 Jason Self +# Copyright (C) 2017, 2018 Jason Self # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -13,13 +13,13 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -shell=/bin/sh +shell=/bin/bash prefix=/lib/firmware install_program=install -.PHONY: all test clean install a56 as31 ath9k_htc_toolchain ath9k_htc_firmware av7110 b43-tools carl9170fw-toolchain carl9170fw cis-tools cis dsp56k ihex2fw isci keyspan_pda openfwwf usbdux +.PHONY: all test clean install a56 as31 aica ath9k_htc_toolchain ath9k_htc atusb av7110 b43-tools carl9170fw-toolchain carl9170fw cis-tools cis dsp56k ihex2fw isci keyspan_pda openfwwf usbdux -all: ath9k_htc av7110 carl9170fw cis dsp56k isci keyspan_pda openfwwf usbdux +all: aica ath9k_htc atusb av7110 carl9170fw cis dsp56k isci keyspan_pda openfwwf usbdux a56: cd a56 && $(MAKE) @@ -27,12 +27,18 @@ a56: as31: cd as31 && ./configure && $(MAKE) +aica: + cd aica/arm && $(MAKE) + ath9k_htc_toolchain: cd ath9k_htc && $(MAKE) toolchain ath9k_htc: ath9k_htc_toolchain cd ath9k_htc && $(MAKE) -C target_firmware +atusb: + cd atusb && $(MAKE) atusb.dfu + av7110: cd av7110 && $(MAKE) @@ -73,10 +79,12 @@ test: @echo This function is not implemented. clean: + cd aica/arm && $(MAKE) clean cd a56 && $(MAKE) clean if [ -a as31/Makefile ]; then cd as31 && $(MAKE) clean; fi; cd ath9k_htc && $(MAKE) toolchain-clean cd ath9k_htc && $(MAKE) -C target_firmware clean + cd atusb && $(MAKE) clean cd av7110 && $(MAKE) clean cd carl9170fw/toolchain && $(MAKE) clean if [ -a carl9170fw/Makefile ]; then cd carl9170fw && $(MAKE) clean; fi; @@ -90,8 +98,12 @@ 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)/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 aica/arm/aica_firmware.bin ]; then $(install_program) -D aica/arm/aica_firmware.bin $(prefix)/aica_firmware.bin; fi; + 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-1.4.0.fw && \ + ln -s ath9k_htc/htc_9271-1.4.0.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)/ath9k_htc/htc_7010-1.4.0.fw && \ + ln -s ath9k_htc/htc_7010-1.4.0.fw $(prefix)/htc_7010.fw; fi; + if [ -a atusb/atusb.dfu ]; then $(install_program) -D atusb/atusb.dfu $(prefix)/atusb/atusb.dfu; 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;