Date: Fri, 12 Mar 2004 00:40:15 +0300 From: Roman Kurakin <rik@cronyx.ru> To: hackers@freebsd.org Subject: make install (kernel) without /modules dir Message-ID: <4050DCBF.5050807@cronyx.ru>
next in thread | raw e-mail | index | archive | help
Hi, It seems that I've found another problem. If /modules dir would be removed, make install (of kernel and kernel modules) will not create modules dir and you'll get /modules file with one of the modules inside. One of the variants is to add flag -d to install or other to mkdir -p explicitly: --- Makefile.old Fri Mar 12 00:13:45 2004 +++ Makefile Fri Mar 12 00:15:03 2004 @@ -626,6 +626,7 @@ cp -p ${DESTDIR}/modules/* ${DESTDIR}/modules.old; \ fi; .endif + mkdir -p ${DESTDIR}/modules cd $S/modules ; env ${MKMODULESENV} ${MAKE} install modules-reinstall modules-reinstall.debug: Best regards, Roman Kurakin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4050DCBF.5050807>