Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v11 0/8] Add support for top-level parallel make
Date: Mon, 3 Feb 2014 22:02:32 +0100	[thread overview]
Message-ID: <20140203220232.4b228965@skate> (raw)
In-Reply-To: <1389348368-2509-1-git-send-email-fabio.porcedda@gmail.com>

Dear Fabio Porcedda,

On Fri, 10 Jan 2014 11:06:00 +0100, Fabio Porcedda wrote:

> this is a patch set for adding support for top-level parallel make in
> buildroot, the common problem scattered in buildroot's top-level
> makefiles is that in the rules it relies on the order of evaluation of
> the prerequisites, to be able to use top-level parallel make instead
> of reling on the left to right ordering of evaluation of the
> prerequisites we must add an explicit rule to describe the
> dependencies.

We have discussed your patch series today at the Buildroot meeting,
Peter and I had a look at it. Our plan is to merge it right after
2014.02-rc1 is released, into the -next branch, which means that it
will be part of the 2014.05 release.

That said, there are two changes that we would like to be made, but
they can be made as follow-up patches:

 * Guarantee that the staging installation is always done before the
   target installation. Specifically for the uclibc and glibc package,
   you've added something like:

+# The uclibc-install-target use files from uclibc-install-staging
+$(UCLIBC_TARGET_INSTALL_TARGET): $(UCLIBC_TARGET_INSTALL_STAGING)

   The problem is that uclibc and glibc are by far not the only
   packages to make this assumption. There are many packages who
   install everything to staging, and then pick whatever they need from
   the staging directory to install things to the target directory. The
   qt and qt5 packages come to mind, but there are many more.
   Therefore, we would like these steps to be serialized for each
   package: first staging installation, then target installation.

 * Also, in glibc and uClibc, you're doing:

-# Before uClibc is built, we must have the second stage cross-compiler
-uclibc-build: host-gcc-intermediate

+# Before uClibc is built, we must have the second stage cross-compiler
+$(UCLIBC_TARGET_BUILD): | host-gcc-intermediate

   But I believe there are a few other tricky cases where the
   dependencies are "non-standard". I'm thinking of at least:

    - linux/linux-ext-rtai.mk, which does not depends on rtai, but
      rtai-patch. Not sure that's problematic in this case, but I was
      wondering.

    - The linux/linux.mk mechanism to rebuild the kernel image after
      the initramfs image has been produced.

Can you cook follow-up patches for the first issue, and maybe
review/investigate the second issue if applicable?

Thanks a lot!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  parent reply	other threads:[~2014-02-03 21:02 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-10 10:06 [Buildroot] [PATCH v11 0/8] Add support for top-level parallel make Fabio Porcedda
2014-01-10 10:06 ` [Buildroot] [PATCH v11 1/8] package: add base dependency to every package Fabio Porcedda
2014-01-10 10:06 ` [Buildroot] [PATCH v11 2/8] package: add toolchain dependency to every target package Fabio Porcedda
2014-01-10 11:01   ` Samuel Martin
2014-01-15 12:25     ` Fabio Porcedda
2014-02-07 12:57   ` Fabio Porcedda
2014-02-07 13:32     ` Thomas Petazzoni
2014-02-08  9:04       ` Fabio Porcedda
2014-01-10 10:06 ` [Buildroot] [PATCH v11 3/8] package: add support for top-level parallel make Fabio Porcedda
2014-01-10 10:06 ` [Buildroot] [PATCH v11 4/8] uclibc: " Fabio Porcedda
2014-01-10 10:06 ` [Buildroot] [PATCH v11 5/8] glibc: " Fabio Porcedda
2014-01-10 10:06 ` [Buildroot] [PATCH v11 6/8] Makefile: " Fabio Porcedda
2014-01-10 10:06 ` [Buildroot] [PATCH v11 7/8] package: enable jobserver for recursive make Fabio Porcedda
2014-01-10 10:06 ` [Buildroot] [PATCH v11 8/8] Makefile: update comment about top-level parallel Makefile Fabio Porcedda
2014-01-20  7:31 ` [Buildroot] [PATCH v11 0/8] Add support for top-level parallel make Fabio Porcedda
2014-02-03 21:02 ` Thomas Petazzoni [this message]
2014-02-04  8:32   ` Fabio Porcedda

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140203220232.4b228965@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox