From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Thu, 22 Jan 2004 17:31:11 +0000 Subject: Re: PATCH: drop symbolink link to kernel headers Message-Id: <20040122173111.GI14310@kroah.com> List-Id: References: <5701.1074622084@www46.gmx.net> In-Reply-To: <5701.1074622084@www46.gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Thu, Jan 22, 2004 at 06:24:02PM +0100, Svetoslav Slavtchev wrote: > > On Tue, Jan 20, 2004 at 07:08:04PM +0100, Svetoslav Slavtchev wrote: > > > Hi, > > > the attached patch removes the need from a symbolik link to kernel > > headers > > > when compiling against klibc. > > > if KERNEL_DIR is not specified it looks for kernel headers > > > in /usr/src/linux( of course you could change it to /lib/modules/`uname > > > -r`/build ) > > > > It's a nice idea, but is it really needed? > > well, i could always patch it :-) > and may be other packagers too, > but i think it's a good idea Ok, how about defaulting to /lib/modules/`uname -r`/build instead. Also, you don't have to check if KERNEL_DIR is set before trying to set it yourself. Make will handle this properly. thanks, greg k-h ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ 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