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

Thu May 24 20:09:26 UTC 2007
Mark Hull-Richter <mhullrich at gmail.com>

On 5/24/07, dcw <dwoody1 at charter.net> wrote:
>
> Does the rpmbuild -bc work only in the BUILD directory? Or does it work in
>  the SOURCE directory?

It will work anywhere that exists, as long as you point it to a
properly set up .spec file.

However, unless you are doing short-circuit builds (-bc and -bi only),
you CANNOT build in the BUILD/kernel-xxx/linux-xxx directory because
the %prep deletes it and reconstructs it from scratch.

-- 
Mark Hull-Richter
DATAllegro (www.datallegro.com)
85 Enterprise, Second Floor, Aliso Viejo, CA  92656
949-680-3082 - Office     949-680-3001 - fax