Re: make xconfig fails in 2.5.8 kernel, trivial change to fix it

Jens Axboe (axboe@suse.de)
Wed, 17 Apr 2002 10:00:11 +0200


On Tue, Apr 16 2002, Andre Hedrick wrote:
> > Hi,
> >
> > There is a very trivial problem in line 52 of the drivers/ide/Config.in
> > file. It reads:
> > if [ $CONFIG_BLK_DEV_IDE_TCQ_DEFAULT != "n" ]; then
> >
> > 'make xconfig' fails on this saying that it is a bad if condition:
> >
> > cat header.tk >> ./kconfig.tk
> > ./tkparse < ../arch/i386/config.in >> kconfig.tk
> > drivers/ide/Config.in: 52: bad if condition
> >
> > It is easily fixed by enclosing $CONFIG_BLK_DEV_IDE_TCQ_DEFAULT in double
> > quotes. There are other if conditions in this same file that do have those
> > quotes and Tk doesn't complain about them.
> >
> > Does anybody use xconfig these days anyways since nobody apprarently has
> > noticed it before? I saw this broken a few 2.5 releases ago too but never
> > got around looking into it.

The problem is new to 2.5.8, since that very option did not exist in
earlier releases. And it's fixed in the latest ide patch sets.

-- 
Jens Axboe

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/