Re: [PATCH] Fix CONFIG_CROSS_COMPILE issue in .config

From: Andrew Hendry
Date: Mon Aug 16 2010 - 08:35:10 EST


This gives some errors on my ubuntu build for -rc1, reverting lets it
build normally. Am I missing something?

ahendry@ubuntu:~/linux/linux-2.6$ make
make: ngcc: Command not found
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CC kernel/bounds.s
/bin/sh: ngcc: not found
make[1]: *** [kernel/bounds.s] Error 127
make: *** [prepare0] Error 2

.config has CONFIG_CROSS_COMPILE="n"

On Tue, Aug 10, 2010 at 9:21 PM, Michal Marek <mmarek@xxxxxxx> wrote:
> On 10.8.2010 08:43, Yegor Yefremov wrote:
>> On Fri, Aug 6, 2010 at 12:26 AM, Roland McGrath <roland@xxxxxxxxxx> wrote:
>>>> Yes, this make sense to me.  It's not clear to me why we ever needed
>>>> the conditional assignment of an empty CROSS_COMPILE (that code predates
>>>> the start of git history) [...]
>>>
>>> Perhaps someone used make --warn-undefined-variables.
>>
>> Are there any other comments or is the patch valid? Should I resend it
>> as a new thread?
>
> No problem at your side, the patch is fine and I applied it now.
>
> Michal
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/