From: Fengguang Wu <lkp@intel.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
Thierry Reding <thierry.reding@gmail.com>,
devicetree@vger.kernel.org,
linux-kbuild <linux-kbuild@vger.kernel.org>
Subject: Re: running "make dtbs" for test builds
Date: Mon, 18 Jul 2016 20:29:47 +0800 [thread overview]
Message-ID: <20160718122947.GA29820@wfg-t540p.sh.intel.com> (raw)
In-Reply-To: <8924490.SntxSU2FOC@wuerfel>
Hi Arnd,
On Mon, Jul 18, 2016 at 02:01:17PM +0200, Arnd Bergmann wrote:
>Hi Fengguang,
>
>I've recently run into a number of cases in which I pulled a branch that
>was building fine with "make vmlinux", but that failed for "make dtbs",
>and I wonder if this is something that could be checked by the kbuild
>test robot so we catch it earlier.
Yes, sure.
>There are parts of this:
>
>- running "make" without a target will build the default image file
> and also do the "dtbs" target on ARM and other architectures. I
> don't know if this is what you do, or if you always build
My typical build command sequences are
make oldnoconfig
make prepare
make headers_install
make ARCH=xxx
make install
So it looks good already. :)
> "make vmlinux ; make modules", which doesn't include it.
> The dtbs makefile target is available on arc, arm, arm64, h8300,
> metag, mips, nios2, and xtensa but not the others, so if you
> call it explicitly, that has to be in an architecture specific
> way.
Got it.
>- setting CONFIG_OF_ALL_DTBS will catch all files, not just the
> ones that are built by default for the set of configurations you
> have. It's possible to simply override this on the command line,
> using "make CONFIG_OF_ALL_DTBS=y", it doesn't actually have to
> be part of the configuration. The result is independent of the
> actual configuration, so it should be enough to do this once
> per architecture and source revision.
>
>Is this something you can add?
Do you mean to simply change the main "make" command line to
make ARCH=xxx CONFIG_OF_ALL_DTBS=y
Which looks safe even for ARCHs that do not support it.
The arch/.../Makefile that actually use it are:
arch/arc/boot/dts/Makefile
arch/arm/boot/dts/Makefile
arch/arm64/boot/dts/Makefile
arch/h8300/boot/dts/Makefile
arch/metag/boot/dts/Makefile
arch/mips/boot/dts/Makefile
arch/xtensa/boot/dts/Makefile
Regards,
Fengguang
next prev parent reply other threads:[~2016-07-18 12:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-18 12:01 running "make dtbs" for test builds Arnd Bergmann
2016-07-18 12:29 ` Fengguang Wu [this message]
[not found] ` <20160718122947.GA29820-q6ZYBFIlbFFi0tQiZxhdj1DQ4js95KgL@public.gmane.org>
2016-07-18 12:49 ` Arnd Bergmann
2016-07-18 12:41 ` Fengguang Wu
[not found] ` <20160718124122.GA30497-q6ZYBFIlbFFi0tQiZxhdj1DQ4js95KgL@public.gmane.org>
2016-07-18 12:52 ` Arnd Bergmann
2016-07-18 13:00 ` Fengguang Wu
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=20160718122947.GA29820@wfg-t540p.sh.intel.com \
--to=lkp@intel.com \
--cc=arnd@arndb.de \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=thierry.reding@gmail.com \
/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;
as well as URLs for NNTP newsgroup(s).