> > I intentionally only printed a message and errored out in this case, and I
> > think that's more useful, particularly for people doing
> >
> > make all 2>&1 > make.log
> >
> > which now may take forever waiting for input.
>
> You should have tried this first :) :
Yup, obviously ;) Sorry about that.
>
> $ make | cat
> make[1]: Entering directory `/home/roman/src/linux-lkc/scripts'
> make[1]: Leaving directory `/home/roman/src/linux-lkc/scripts'
> make[1]: Entering directory `/home/roman/src/lc'
> make[1]: `conf' is up to date.
> make[1]: Leaving directory `/home/roman/src/lc'
> ./scripts/lkc/conf -s arch/i386/config.new
> #
> # using defaults found in .config
> #
> *
> * Restart config...
> *
> Enable loadable module support (MODULES) [Y/n/?] y
> Set version information on all module symbols (MODVERSIONS) [N/y/?] (NEW) aborted!
>
> Console input/output is redirected. Run 'make oldconfig' to update configuration.
>
> make: *** [include/linux/autoconf.h] Error 1
I'm still not happy at least for the ".config does not exist" case. Since
when I forget to "cp ../config-2.5 .config", I don't really want "make
oldconfig", I want to do the forgotten cp. I think there's hardly anyone
who wants oldconfig in that case, rather menuconfig/xconfig or a cp like I
mentioned. Since kbuild/lkc does not know, it shouldn't make that (bad)
guess.
If .config exist but is not current, I think in 99% of the cases we really
want make oldconfig, so that's fine.
--Kai
-
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/