Simple suggestion for a make target
A message that is not in the archive (sent off-list or not yet received): [email protected]
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.
Just an idea.
Signature · 14 lines
Tom Watson [email protected] __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- 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
Quoted 8 lines · Tom Watson
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.
Quoted 6 lines
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.
Lee
-------------------------------------------------------
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
At Tue, 13 Sep 2005 15:37:34 -0400,
Quoted 14 lines · Lee Revell
Quoted 12 lines · Tom Watson
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.
Quoted 7 lines
Quoted 2 lines
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