aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/osafeloader/src/Makefile
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2016-11-19 07:58:25 +0100
committerRafał Miłecki <rafal@milecki.pl>2016-11-19 07:58:25 +0100
commit1c6fd8c1ee9d07bee558ccaa0703bfab6d8c125f (patch)
tree8180cd6e311b0c2c7527a1339ab27cc09532982e /package/utils/osafeloader/src/Makefile
parenteab2b17d436fa7fd72f4ec4d84d2cd497fcbc0cb (diff)
downloadupstream-1c6fd8c1ee9d07bee558ccaa0703bfab6d8c125f.tar.gz
upstream-1c6fd8c1ee9d07bee558ccaa0703bfab6d8c125f.tar.bz2
upstream-1c6fd8c1ee9d07bee558ccaa0703bfab6d8c125f.zip
osafeloader: new util for extracting partitions from SafeLoader
SafeLoader is image format used by some TP-LINK devices. This tool allows extracting selected partitions out of it. It can be used for sysupgrade. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'package/utils/osafeloader/src/Makefile')
-rw-r--r--package/utils/osafeloader/src/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/utils/osafeloader/src/Makefile b/package/utils/osafeloader/src/Makefile
new file mode 100644
index 0000000000..acc6f0fe65
--- /dev/null
+++ b/package/utils/osafeloader/src/Makefile
@@ -0,0 +1,7 @@
+all: osafeloader
+
+osafeloader:
+ $(CC) $(CFLAGS) -Wall osafeloader.c md5.c -o $@ $^
+
+clean:
+ rm -f osafeloader