Re: request_firmware() gives build failures

From: Jiri Slaby
Date: Tue May 13 2008 - 16:44:21 EST


On 05/12/2008 11:48 PM, Jonathan Corbet wrote:
In any case, setting CONFIG_FW_LOADER=y makes the problem go away. I'm
not good enough at kconfig to make that happen magically; putting in
"select FW_LOADER" doesn't seem to be enough.

Maybe I overlooked something, but I fix that way the same issue today. What exactly doesn't work with select FW_LOADER?

$ grep FW ../a/moxa/.config
CONFIG_FW_LOADER=m
$ grep INTELL ../a/moxa/.config
CONFIG_MOXA_INTELLIO=y
$ vim drivers/char/Kconfig
<add select FW_LOADER to MOXA_INTELLIO>
$ make O=../a/moxa/ SUBARCH=i386 drivers/char/moxa.o
GEN /home/l/latest/a/moxa/Makefile
scripts/kconfig/conf -s arch/x86/Kconfig
#
# configuration written to .config
#
fatal: cannot describe '18f96f01977fa1905fd0f8f8522698cc97287022'
Using /home/l/latest/xxx as source for kernel
GEN /home/l/latest/a/moxa/Makefile
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CALL /home/l/latest/xxx/scripts/checksyscalls.sh
CC drivers/char/moxa.o
$ grep FW ../a/moxa/.config
CONFIG_FW_LOADER=y
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/