all: initramfs.img initramfs.img: ./make -include initramfs.d install: install-initramfs.img install-initramfs.img: initramfs.img rm -f $@.old $@.new cp $< $@.new if [ -e $@ ]; then mv $@ $@.old; fi mv $@.new $@ clean: $(RM) -r initramfs.img initramfs.d kernel .PHONY: all install install-initramfs.img clean MAKEFLAGS = -L -R -r