roundshot

n/a
git clone git://parazyd.org/roundshot.git
Log | Files | Refs | LICENSE

Makefile (406B)


      1 # roundshot
      2 # See LICENSE file for copyright and license details
      3 
      4 include config.mk
      5 
      6 all: filesystem.squashfs
      7 
      8 filesystem.squashfs:
      9 	wget -c $(ROOTFS_URL)
     10 	mkdir -p rootfs
     11 	cd rootfs && tar xf ../$(shell basename $(ROOTFS_URL))
     12 	cp -frav overlay/* rootfs
     13 	mksquashfs rootfs $@ -comp xz
     14 
     15 clean:
     16 	rm -rf rootfs overlay/lib/modules $(shell basename $(ROOTFS_URL))
     17 
     18 distclean: clean
     19 	rm -f filesystem.squashfs