[U-Boot] binman: 'module' object has no attribute 'FinaliseOutputDir'

Kevin Hilman khilman at baylibre.com
Thu Jun 1 13:55:42 UTC 2017


On Wed, May 31, 2017 at 12:19 PM, Simon Glass <sjg at chromium.org> wrote:
> Hi Kevin,
>
> On 31 May 2017 at 12:13, Kevin Hilman <khilman at baylibre.com> wrote:
>> While trying to build v2017.05 for sun5i-r8-chip (CHIP_defconfig), I get
>> the following build error.  I'm not familiar with binman, so not sure
>> what I should be looking for.
>>
>> $ CROSS_COMPILE=arm-linux-gnueabihf- make
>>
>> [...]
>>
>>  LD      spl/drivers/serial/built-in.o
>>  LD      spl/drivers/built-in.o
>>  LD      spl/common/built-in.o
>>  LD      spl/lib/built-in.o
>>  LD      spl/u-boot-spl
>>  OBJCOPY spl/u-boot-spl-nodtb.bin
>>  COPY    spl/u-boot-spl.bin
>>  MKSUNXI spl/sunxi-spl.bin
>>  BINMAN  u-boot-sunxi-with-spl.bin
>>  binman: 'module' object has no attribute 'FinaliseOutputDir'
>>  Makefile:1107: recipe for target 'u-boot-sunxi-with-spl.bin' failed
>>  make: *** [u-boot-sunxi-with-spl.bin] Error 1
>>
>>
>> If it matters, compiler is: gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)
>
> Do you know what version of python you are using? I cannot imagine
> what is happening here.

$ python
Python 2.7.12 (default, Nov 19 2016, 06:48:10)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>

and fwiw, this is on Ubuntu 16.04 LTS.

Kevin


More information about the U-Boot mailing list