Commit 6625518cd6 broke cross compiling?

Mike Frysinger vapier at gentoo.org
Sat Sep 5 21:30:50 UTC 2009


On Saturday 05 September 2009 14:45:21 Denys Vlasenko wrote:
> On Friday 04 September 2009 22:07, Rob Landley wrote:
> > Before the August 25 commit "default ?conf to native arch", I could do
> > this:
> >
> > make KCONFIG_ALLCONFIG=miniconfig-uClibc.$ARCH allnoconfig &&
> > make KERNEL_HEADERS="${STAGE_DIR}/include" PREFIX="${STAGE_DIR}/" \
> >   CROSS="${ARCH}-" RUNTIME_PREFIX=/ DEVEL_PREFIX=/ -j $CPUS \
> >   install hostutils
> >
> > The KCONFIG_ALLCONFIG file would specify the architecture it was building
> > for, and CROSS= would specified the appropriate cross compiler prefix. 
> > (This is how uCLibc has worked for many years now.
>
> ...
>
> > Before that commit, it didn't do that.  It seems like a new redundant
> > symbol showed up, but there's no way to set it in menuconfig!  Here's the
> > start of the resulting .config:
> >
> > TARGET_ARCH="x86_64"
> > # TARGET_alpha is not set
> > TARGET_arm=y
> > # TARGET_avr32 is not set
> > # TARGET_bfin is not set
>
> Just got bitten by the same thing. In my case, simple "make" with no
> fancy varibles doesn't  work.

so set ARCH on the cmdline and see if it works

does the kernel support this use case ?  i dont think it does ...
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20090905/dd6f43b3/attachment-0001.pgp>


More information about the uClibc mailing list