summaryrefslogtreecommitdiffstats
path: root/utils/atj2137/adfuload/Makefile
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2013-12-11 15:42:25 +0100
committerMarcin Bukat <marcin.bukat@gmail.com>2013-12-11 15:42:25 +0100
commitb5ca0cffac1b27fd6662d52a909be7a2199398dc (patch)
tree6f986f33b037ff1e83e5e1dae6bac08504a0aa66 /utils/atj2137/adfuload/Makefile
parent01d8cc6f39406932fc971faa3e304692a8ecacf9 (diff)
downloadrockbox-b5ca0cffac1b27fd6662d52a909be7a2199398dc.tar.gz
rockbox-b5ca0cffac1b27fd6662d52a909be7a2199398dc.tar.bz2
rockbox-b5ca0cffac1b27fd6662d52a909be7a2199398dc.zip
adfuload: utility to upload and exec binary using brom adfu mode of atj213x SoC
Change-Id: If52aa34124be2801c2ac316641ff9aa0bbd837c6
Diffstat (limited to 'utils/atj2137/adfuload/Makefile')
-rw-r--r--utils/atj2137/adfuload/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/atj2137/adfuload/Makefile b/utils/atj2137/adfuload/Makefile
new file mode 100644
index 0000000000..c6a432aaa6
--- /dev/null
+++ b/utils/atj2137/adfuload/Makefile
@@ -0,0 +1,7 @@
+all: adfuload
+
+adfuload: adfuload.c encrypt.c
+ gcc -g -std=c99 -o $@ -W -Wall -I/usr/include/libusb-1.0/ $^ -lusb-1.0
+
+clean:
+ rm -fr *.o adfuload