summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-10-23 14:22:58 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-10-23 14:22:58 (EDT)
commit0488a0c2ff03ac23a88094577d41cc8f6c38d698 (patch)
treebb40b0abe78262154419f3155943969fe0c2ac79
parent952087741a2c882966f7598a8208c295cdf57483 (diff)
build: Add "install" target
-rwxr-xr-xbuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/build b/build
index c7fe758..1997461 100755
--- a/build
+++ b/build
@@ -11,3 +11,9 @@ build:
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