From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 11 13:53:09 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8AF0916A4CE for ; Thu, 11 Mar 2004 13:53:09 -0800 (PST) Received: from hanoi.cronyx.ru (hanoi.cronyx.ru [144.206.181.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC05343D31 for ; Thu, 11 Mar 2004 13:53:08 -0800 (PST) (envelope-from rik@cronyx.ru) Received: (from root@localhost) by hanoi.cronyx.ru id i2BLo79G063112 for hackers@freebsd.org.checked; (8.12.8/vak/2.1) Fri, 12 Mar 2004 00:50:07 +0300 (MSK) (envelope-from rik@cronyx.ru) Received: from cronyx.ru (rik.cronyx.ru [172.22.4.1]) by hanoi.cronyx.ru with ESMTP id i2BLmwli063045; (8.12.8/vak/2.1) Fri, 12 Mar 2004 00:49:00 +0300 (MSK) (envelope-from rik@cronyx.ru) Message-ID: <4050E0BA.5080102@cronyx.ru> Date: Fri, 12 Mar 2004 00:57:14 +0300 From: Roman Kurakin User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020610 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Roman Kurakin References: <4050DCBF.5050807@cronyx.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: hackers@freebsd.org Subject: Re: make install (kernel) without /modules dir X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Mar 2004 21:53:09 -0000 I forget to say that this problem is for 4. branch Roman Kurakin wrote: > 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 > > > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org" > >