-# Copyright (C) 2017 Jason Self <j@jxself.org>
+# Copyright (C) 2017, 2018 Jason Self <j@jxself.org>
#
# 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
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_firmware 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 av7110 carl9170fw cis dsp56k isci keyspan_pda openfwwf usbdux
a56:
cd a56 && $(MAKE)
as31:
cd as31 && ./configure && $(MAKE)
+aica:
+ cd aica/arm && $(MAKE)
+
ath9k_htc_toolchain:
cd ath9k_htc && $(MAKE) toolchain
@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 usbdux && $(MAKE) -f Makefile_dux clean
install:
+ 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)/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;