summaryrefslogtreecommitdiffstats
path: root/build
blob: 19974613619c2c288830d80b8133106715edd128 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

include ../source.mk

nop:
	@:

build:
	mkdir -p src/toolchain/dl/
	(cd src/toolchain/dl/ && ln -sf ../../../../toolchain/* ./)
	oh-autobuild -T toolchain
	chmod a+x src/target_firmware/firmware-crc.sh
	oh-autobuild -B src/target_firmware
	touch $@

install: build
	install -d -m 0755 open-ath9k-htc-firmware.data/lib/firmware
	install -m 0644 src/target_firmware/*.fw \
		open-ath9k-htc-firmware.data/lib/firmware