Makefile (749B)
1 # roundshot 2 # See LICENSE file for copyright and license details 3 4 all: 5 cd toolchain && make 6 cd initramfs && make 7 cd linux && make 8 cp -ra linux/build/lib squashfs/overlay 9 cd squashfs && make 10 cd u-boot && make 11 12 dist: all 13 mkdir -p dist 14 cp -fra linux/build dist/linux-build 15 cp -fra initramfs/initramfs.cpio.bz2 dist 16 cp -f squashfs/filesystem.squashfs dist 17 cp -f u-boot/build/u-boot-sunxi-with-spl.bin dist 18 19 clean: 20 make -C toolchain clean 21 make -C initramfs clean 22 make -C linux clean 23 make -C squashfs clean 24 make -C u-boot clean 25 26 distclean: 27 make -C toolchain distclean 28 make -C initramfs distclean 29 make -C linux distclean 30 make -C squashfs distclean 31 make -C u-boot distclean 32 33 mrproper: clean distclean 34 rm -rf dist