[CentOS] recompiling kernel results in error: .../linux-2.6.18.i686/arch//Makefile: No such file or directory

Fri May 25 15:30:35 UTC 2007
Akemi Yagi <amyagi at gmail.com>

On 5/24/07, dcw <dwoody1 at charter.net> wrote:
> I did some more investigation.
> After a cd to the BUILD directory, I ran 'make xconfig' and set the 3 items
> that I need. isa, isapnp and ne2000 support.
>
> From the SPEC directory I ran 'rpmbuild -bc --short-circuit kernel-2.6.spec'.
> After about 4 minutes I looked at the contents of the .config file in the
> BUILD directory.
>
> ALL 3 ITEMS I had selected had been DELETED.
>
> I also noticed that rpmbuild -bc runs 'make mrproper'.
> From my 2.4.x days, I seem to remember that mrproper restores everything to
> original content. Is my memory correct?

Right, you don't want make mrproper at that step.  If the
--short-circuit flag is not working as it is supposed to, stick to the
original method of going through steps 5 through 7.  It is known to
work.

Akemi