[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make xconfig doesn't work



Pierre PEIFFER wrote:

> Hello,
>
>     With patch 2.2.17.10, "make xconfig" doesn't work (applied with kernel
> 2.2.13). I have the following error:
>
> <<
> cat header.tk >> ./kconfig.tk
> ./tkparse-sparc-solaris2.6 < ../arch/i386/config.in >> kconfig.tk
> drivers/block/Config.in: 106: unknown command
> make[1]: *** [kconfig.tk] Error 1
> >>
>
>     (but "make menuconfig" works well)
>     I supposed "define_string" is the problem... Do you know how to solve this
> ? (Although this is not a big problem, I know...)

In case of someone is interested, I've tried to correct it by modifying
the
Config.in file (The patch is at the  end of this mail).
I think (I'm not completly sure) it has the expected behaviour.
To add the "define_string" support in the tkparser seems to be a little
bit more
complex...

Bye.

    Pierre

106c106
<       define_string CONFIG_BLK_DEV_LOOP_GEN_SEL $CONFIG_CIPHERS
---
>       define_bool CONFIG_BLK_DEV_LOOP_GEN_SEL m
108c108,112
<       define_string CONFIG_BLK_DEV_LOOP_GEN_SEL $CONFIG_BLK_DEV_LOOP
---
>       if [ "$CONFIG_BLK_DEV_LOOP" = "m" ]; then
>         define_bool CONFIG_BLK_DEV_LOOP_GEN_SEL m
>       else
>         define_bool CONFIG_BLK_DEV_LOOP_GEN_SEL y
>       fi

Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/