From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Sun, 22 May 2005 14:07:19 +0000 Subject: Re: patch udev: static linking and DESTDIR Message-Id: <20050522140719.GA9102@vrfy.org> List-Id: References: <428DCB57.6020201@iit.demokritos.gr> In-Reply-To: <428DCB57.6020201@iit.demokritos.gr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Fri, May 20, 2005 at 02:34:47PM +0300, Vassilis Virvilis wrote: > This patch does two things > > 1) > Note: klcc builds statically by default so I don't see the reason to > explicitly state it. However if somebody changes the default behavior of > klcc (like me) it will lost considerable time trying to find out why > hotplug (and udev) doesn't build statically (like me). The -static prevented a static build? Anyway, removed! > 2) > I am building hotplug (and udev) for an initramfs image. I have > specified DESTDIR to be ~/src/embed/root-initramfs and the defines > as they are now are pointing to DESTDIR which is wrong since that > directory will be the root upon boot and udev cannot find the > ~/src/embed/root-initramfs/sbin/udev staff. Yes, that seems wrong. Fixed! Using DESTDIR only on the install target works. :) > Note the klibc works around this by introducing INSTALLROOT and > INSTALLDIR Makefile variables. Maybe something like this is a good idea? Does "prefix" not work for that? > Also note that the INSTALL_DIR variable in udev makefile is useless as > it is not referenced anywhere. Would you accept a patch to clean it up > as it is distracting... Removed! Thanks, Kay ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_idt12&alloc_id344&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel