Commit 6625518cd6 broke cross compiling?

Mike Frysinger vapier at gentoo.org
Sat Sep 5 12:12:48 UTC 2009


On Saturday 05 September 2009 07:42:29 Bernhard Reutner-Fischer wrote:
> On Fri, Sep 04, 2009 at 03:07:23PM -0500, 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
>
> ARCH=
> We _could_ default to the configured arch, if
> - a .config exists and
>   ifeq ($(origin ARCH),command line) or undefined
> if people prefer that logic. My setup now always passes the ARCH but as
> you prefer.

leveraging $(ARCH) makes sense in my mind and aligns it with the build systems 
we are copying from ...
-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/22b8ab9b/attachment.pgp>


More information about the uClibc mailing list