linux-mips
[Top] [All Lists]

Re: [PATCH] mips: fix netlogic defconfigs for coverage builds

To: Paul Gortmaker <paul.gortmaker@windriver.com>
Subject: Re: [PATCH] mips: fix netlogic defconfigs for coverage builds
From: Ralf Baechle <ralf@linux-mips.org>
Date: Mon, 23 Jan 2012 14:32:52 +0100
Cc: linux-mips@linux-mips.org, Jayachandran C <jayachandranc@netlogicmicro.com>, David VomLehn <dvomlehn@cisco.com>
In-reply-to: <1327262566-2676-1-git-send-email-paul.gortmaker@windriver.com>
References: <1327262566-2676-1-git-send-email-paul.gortmaker@windriver.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.21 (2010-09-15)
On Sun, Jan 22, 2012 at 03:02:46PM -0500, Paul Gortmaker wrote:

> The toolchain prefix will most likely be site specific and is
> not guaranteed to always be "mips-linux-gnu-", so simply don't
> specify one.  A quick "git grep" shows this to be consistent
> amongst other cross compiled targets.
> 
> Similarly, the site specific initramfs source location should not
> be used, since that won't exist for most people, and it prevents
> them from doing coverage builds on the defconfigs, such as those
> done in linux-next and run routinely by many others.

I ran into that issue as well.  My build script does something like

  sed -i -e s@^CONFIG_CROSS_COMPILE=\"[^\"]*\"\$@CONFIG_CROSS_COMPILE=\"\"@
  sed -i -e 
s@^CONFIG_INITRAMFS_SOURCE=\"[^\"]*\"\$@CONFIG_INITRAMFS_SOURCE=\"\"@
  sed -i -e s/^CONFIG_DEBUG_INFO=y\$/#\ CONFIG_DEBUG_INFO\ is\ not\ set/

to patch up two two annoying settings and the last one to make the compiler
run a little quicker and increase chances for a hit in ccache.

But for benefit of the rest of the world I've applied tihs patch and will
also patch up powertv_defconfig which now is the last CONFIG_CROSS_COMPILE
user.

Thanks!

  Ralf

<Prev in Thread] Current Thread [Next in Thread>