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...@intel.com>
> Fixes: 66ab3a74c5ce ("CRIS: Merge machine dependent boot/compressed ..")
> Signed-off-by: Guenter Roeck <li...@roeck-us.net>

Thanks!

/^JN - Jesper Nilsson
-- 
               Jesper Nilsson -- jesper.nils...@axis.com

Reply via email to