From: Takashi Iwai Subject: Re: Simple suggestion for a make target Date: Wed, 14 Sep 2005 12:19:25 +0200 Message-ID: References: <20050913192422.73152.qmail@web60825.mail.yahoo.com> <1126640254.13893.37.camel@mindpipe> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <1126640254.13893.37.camel@mindpipe> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Lee Revell Cc: tsw@johana.com, alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Tue, 13 Sep 2005 15:37:34 -0400, Lee Revell wrote: > > On Tue, 2005-09-13 at 12:24 -0700, Tom Watson wrote: > > Since it appears that frequently the kernel source has older versions of alsa > > when released, wouldn't it be wise to have a target in the alsa-driver-xx.yy.z > > directory that finds the kernel sources, and updates them. Then one could > > re-compile the kernel and all would be well with the world. > > > > For those who don't wish to do this, the "./configure;make;make install" > > sequence would work as well. > > > > I suspect that the kernel configuration would pass thru, so one wouldn't need > > to configure before "transferring" sources, but not being an expert, I don't > > know. > > > > Maybe this would encourage distrubutions that diddle with the kernel source to > > have an up-to-date alsa. > > What would be the point? It's already simpler than that. > Just ./configure && make && make install in alsa-driver directory to > install a newer ALSA. It just overwrites the old ALSA modules that came > with the kernel with the newer ones. You don't even need to reboot. I see merits of providing kernel code (especially about the distribution), but there are a few problems if we really do it. - The alsa-kernel code base is kept for the very latest linux-kernel, usually mm tree or Linus git tree. - The codes for stable kernel tree need backward-compatiblity patches. A typical example is the recent introduction of kzalloc(). This won't work on 2.6.12 kernels. That's how alsa-driver requires configure and many hacks in its local tree. Remember that the patch to the latest version can be obtained from ALSA git tree, too. Takashi ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php