[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20161107114628.GS30704@axis.com>
Date: Mon, 7 Nov 2016 12:46:28 +0100
From: Jesper Nilsson <jesper.nilsson@...s.com>
To: Guenter Roeck <linux@...ck-us.net>
Cc: Mikael Starvik <starvik@...s.com>,
Jesper Nilsson <jespern@...s.com>, linux-cris-kernel@...s.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] cris: Only build flash rescue image if
CONFIG_ETRAX_AXISFLASHMAP is selected
On Sun, Oct 30, 2016 at 09:09:18AM -0700, Guenter Roeck wrote:
> If CONFIG_ETRAX_AXISFLASHMAP is not configured, the flash rescue image
> object file is empty. With recent versions of binutils, this results
> in the following build error.
>
> cris-linux-objcopy: error:
> the input file 'arch/cris/boot/rescue/rescue.o' has no sections
>
> This is seen, for example, when trying to build cris:allnoconfig
> with recently generated toolchains.
>
> Since it does not make sense to build a flash rescue image if there is
> no flash, only build it if CONFIG_ETRAX_AXISFLASHMAP is enabled.
Agreed, added to cris tree for 4.10.
> Reported-by: kbuild test robot <fengguang.wu@...el.com>
> Fixes: 66ab3a74c5ce ("CRIS: Merge machine dependent boot/compressed ..")
> Signed-off-by: Guenter Roeck <linux@...ck-us.net>
Thanks!
/^JN - Jesper Nilsson
--
Jesper Nilsson -- jesper.nilsson@...s.com
Powered by blists - more mailing lists