aboutsummaryrefslogtreecommitdiffstats
path: root/freedom-maker/Makefile
diff options
context:
space:
mode:
authorRuna A. Sandvik <runa.sandvik@gmail.com>2011-08-19 20:31:46 +0100
committerRuna A. Sandvik <runa.sandvik@gmail.com>2011-08-19 20:31:46 +0100
commitb1b7684e861effe1db69a9bcd253ccad21c49fb2 (patch)
treed8f96899c0e6a101bffc47ca801d03153b51134d /freedom-maker/Makefile
parentb67bbdcbf32737a30da937b9e995195fddf75903 (diff)
downloadtorouter-b1b7684e861effe1db69a9bcd253ccad21c49fb2.tar.gz
torouter-b1b7684e861effe1db69a9bcd253ccad21c49fb2.zip
we want to fork the freedom-maker script for the torouter
Diffstat (limited to 'freedom-maker/Makefile')
-rw-r--r--freedom-maker/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/freedom-maker/Makefile b/freedom-maker/Makefile
new file mode 100644
index 0000000..e8fc80a
--- /dev/null
+++ b/freedom-maker/Makefile
@@ -0,0 +1,17 @@
+# copy DreamPlug root filesystem to a usb stick with an ext3 partition
+dreamstick: stamp-dreamplug-rootfs
+ mount /media/freedom
+ sudo rsync -atvz --progress --delete build/dreamplug/ /media/freedom/
+ umount /media/freedom
+
+# populate a tree with DreamPlug root filesystem
+stamp-dreamplug-rootfs: fbx-armel.conf fbx-base.conf mk_dreamplug_rootfs
+ sudo ./mk_dreamplug_rootfs
+ touch stamp-dreamplug-rootfs
+
+clean:
+ rm -f stamp-dreamplug-rootfs
+ sudo rm -rf build/dreamplug
+
+distclean: clean
+ rm -rf build