aboutsummaryrefslogtreecommitdiffstats
path: root/freedom-maker/Makefile
diff options
context:
space:
mode:
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