[Top] [All Lists]

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

To: Paul Gortmaker <>
Subject: Re: [PATCH] mips: fix netlogic defconfigs for coverage builds
From: Ralf Baechle <>
Date: Mon, 23 Jan 2012 14:32:52 +0100
Cc:, Jayachandran C <>, David VomLehn <>
In-reply-to: <>
References: <>
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 
  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



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