From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19364 invoked by alias); 17 Nov 2011 20:15:26 -0000 Received: (qmail 19354 invoked by uid 22791); 17 Nov 2011 20:15:23 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-ww0-f41.google.com (HELO mail-ww0-f41.google.com) (74.125.82.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 17 Nov 2011 20:15:08 +0000 Received: by wwf25 with SMTP id 25so10507339wwf.0 for ; Thu, 17 Nov 2011 12:15:07 -0800 (PST) Received: by 10.216.137.143 with SMTP id y15mr28406wei.20.1321560907086; Thu, 17 Nov 2011 12:15:07 -0800 (PST) MIME-Version: 1.0 Received: by 10.180.96.200 with HTTP; Thu, 17 Nov 2011 12:14:46 -0800 (PST) In-Reply-To: <20111117202859.4c07bbfc@skate> References: <8bd0d6bdba97ba1f9a80.1321483527@codei7.fpelectronics.com> <201111170029.28065.yann.morin.1998@anciens.enib.fr> <20111117202859.4c07bbfc@skate> From: David Wuertele Date: Thu, 17 Nov 2011 20:15:00 -0000 Message-ID: Subject: Re: [PATCH 2 of 2] docs: Add strategies for assembling root filesystems To: Thomas Petazzoni Cc: crossgcc@sourceware.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2011-11/txt/msg00092.txt.bz2 Thomas, this is why I created Crossplex. It is a library of make macros that let you specify arbitrary numbers of glibc or uclibc toolchain configurations and target filesystem configurations, and it is designed from the ground up to support efficient rebuilding and parallel building. It has recipes for many different popular packages. It is still a work in progress, but Motorola (and another large company I'm not allowed to mention) are using it to build some of their products. I keep the github repo (https://github.com/wuertele/crossplex) more up to date than the website (crossplex.org). Dave Wuertele On Thu, Nov 17, 2011 at 11:28 AM, Thomas Petazzoni wrote: > Le Thu, 17 Nov 2011 00:29:27 +0100, > "Yann E. MORIN" a =C3=A9crit : > >> > Expand the documentation for using a crosstool-NG-generated >> > toolchain for building a root filesystem for a target device. >> >> Not much to say, I wrote much of it! :-) >> But still, a few comments below... > > I think this part of the documentation should point to existing > embedded Linux build systems, which already do this job, with several > advantages : > > =C2=A0* Well-tested and proven packages for the most common open-source > =C2=A0 components needed in embedded Linux systems > > =C2=A0* Cross-compilation issues that arise with the most common packages > =C2=A0 are already fixed by those build systems. For example, try to > =C2=A0 cross-compile Python. It is basically impossible without heavily > =C2=A0 patching its build system. Which is already done by OpenEmbedded, > =C2=A0 Buildroot, OpenBricks and all those projects. > > =C2=A0* The build process is reproducible. I have encountered way too many > =C2=A0 embedded Linux systems built manually, for which nobody knows the > =C2=A0 build procedure and nobody is capable of replacing a given compone= nt > =C2=A0 by a newer version of that component to fix a bug. > > To me, suggesting people to manually create their root filesystem is a > strong mistake. > > Best regards, > > Thomas > -- > Thomas Petazzoni, Free Electrons > Kernel, drivers, real-time and embedded Linux > development, consulting, training and support. > http://free-electrons.com > > -- > For unsubscribe information see http://sourceware.org/lists.html#faq > > -- For unsubscribe information see http://sourceware.org/lists.html#faq