From: devel-bounces@xxxxxxxxxxxxxxxxxxxxxxx [mailto:devel-bounces@xxxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Przemek Klosowski On Tue, Aug 12, 2014 at 4:29 AM, ottos <ottohaliburton@xxxxxxxxx> wrote: Since this topic is here. There is an error in Makefile when you do a make modules_install. It attempts to delete a directory with a delete file command. This occurs in two places. If you are fixing fix this problem. Typically, something like that might happen if you are compiling in a pre-existing environment, where either an old compilation or someone manually created a directory with the same name as a file from the current compilation. Such error tends not to self-correct. The kernel build system builds from scratch so it doesn't see the problem---I bet if you rm -rf the entire build tree before rebuilding it'll work for you as well. The following code is the defective code from Makefile. The lines with the ** besides them is the lines in particular that are defective. modules_install: _modinst_ _modinst_post PHONY += _modinst_ _modinst_: @rm -rf $(MODLIB)/kernel ** @rm -f $(MODLIB)/source @mkdir -p $(MODLIB)/kernel @ln -s $(srctree) $(MODLIB)/source @if [ ! $(objtree) -ef $(MODLIB)/build ]; then \ ** rm -f $(MODLIB)/build ; \ ln -s $(objtree) $(MODLIB)/build ; \ fi if you execute a “make modules_install” notice that you are trying delete a directive with a file delete. I edit this file each time I build a custom kernel and put a “r” in front of the “f” making it –rf. Is this enough. The commands I use are make bzImage;make modules;make modules_install;make install |
-- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct