IMPLIED=$(shell sed -n '/^file /s/^[^ ]* [^ ]* \([^ ]*\) .*/\1/ p' filelist.txt) target : initrd ramdisk initrd : /boot/earlyrd.img @-echo "If you use this as an initrd, please " @-echo "run 'lilo' to take the change into account." ramdisk : earlyrd.cpio @-echo "If you use this as initramdisk kernel parameter," @-echo "please run 'make bzlilo' to take the change into account." /boot/earlyrd.img : earlyrd.cpio rm -f $@ cat $< | gzip > $@ earlyrd.cpio : validity filelist.txt $(IMPLIED) @-mv $@ $@-bak /usr/src/linux-`uname -r`/usr/gen_init_cpio filelist.txt > $@ validity : ./busybox sh ./initscript --check