Jaroslav Kysela wrote:
Please, report compilation trouble with the current ALSA code.
make[4]: *** No rule to make target `/home/c/alsa/alsa-driver/i2c/other/tea575x-tuner.o', needed by `/home/c/alsa/alsa-driver/i2c/other/snd-tea575x-tuner.o'. Stop. make[3]: *** [/home/c/alsa/alsa-driver/i2c/other] Error 2 make[2]: *** [/home/c/alsa/alsa-driver/i2c] Error 2 make[1]: *** [_module_/home/c/alsa/alsa-driver] Error 2 make[1]: Leaving directory `/root/linux-2.6' make: *** [compile] Error 2
In my kernel, CONFIG_VIDEO_DEV is set but CONFIG_VIDEO_V4L1 isn't, and the snd-tea575x-tuner module depends on the latter.
I don't fully understand the purpose of the hack in the makefile, but this patch works for me:
--- alsa.orig/alsa-driver/i2c/other/Makefile 2008-10-27 20:54:38.000000000 +0100 +++ alsa/alsa-driver/i2c/other/Makefile 2008-10-27 20:55:01.000000000 +0100 @@ -9,7 +9,7 @@
# Toplevel Module Dependency # hack for tea575x support -ifeq (y,$(CONFIG_VIDEO_DEV)) +ifeq (y,$(CONFIG_SND_FM801_TEA575X_BOOL)) obj-$(CONFIG_SND_FM801) += snd-tea575x-tuner.o ifeq (m,$(CONFIG_SND_FM801)) export-objs += tea575x-tuner.o