|
From: Jerone Y. <jy...@us...> - 2008-04-30 21:16:55
|
On Wed, 2008-04-30 at 16:14 -0500, Hollis Blanchard wrote:
> On Wednesday 30 April 2008 15:53:47 Jerone Young wrote:
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> > configure | 2 +-
> >
> >
> > This fixes compilation for cross compilers as many do not create a
> ${cross_prefix}cc link. But the do a ${cross_prefix}gcc. This is what the
> kernel does so this will work for everyone. This breaks some who do not have
> a cc link (cross tools does not create), when I put a patch to remove libkvm
> dependence on test config.mak.
The explanation came out awful :-) . But yes the issue is that by
default cross tools does not create a ${cross_prefix}cc symlink. So you
have to say gcc.
> >
> > Signed-off-by: Jerone Young <jy...@us...>
> >
> > diff --git a/configure b/configure
> > --- a/configure
> > +++ b/configure
> > @@ -2,7 +2,7 @@
> >
> > prefix=/usr/local
> > kerneldir=/lib/modules/$(uname -r)/build
> > -cc=cc
> > +cc=gcc
> > ld=ld
> > objcopy=objcopy
> > want_module=1
>
> To clarify: there is no such thing as "${cross_prefix}cc", so the configure
> script is currently broken for cross-compiling.
>
|