[U-Boot] [PATCH v8 0/38] Switch over to real Kbuild

Andreas Bießmann andreas.devel at googlemail.com
Thu Jan 30 22:35:42 CET 2014


Dear Masahiro Yamada,

On 29.01.14 13:25, Masahiro Yamada wrote:

<snip>

>  How to Build ?
>  --------------
> 
> We can build the same as before.
> Do board configuraton first and then run "make".
> 
>   $ make  omap4_panda_config
>   Configuring for omap4_panda board...
>   $ make  CROSS_COMPILE=arm-linux-gnueabi-
>   GEN     include/autoconf.mk.dep
>   GEN     include/autoconf.mk
>   CC      lib/asm-offsets.s
>   GEN     include/generated/generic-asm-offsets.h
>   CC      arch/arm/cpu/armv7/omap4/asm-offsets.s
>   GEN     include/generated/asm-offsets.h
>   HOSTCC  scripts/basic/fixdep
>    ...
> 
> You will find a difference at a glance: short log.
> If you need detail log message, please add "V=1".
> (You can also use "V=2")
> 
> Please note we can no longer use
>   $ make omap4_panda CROSS_COMPILE=arm-linux-gnueabi-
> to do board configuration and "make" at the same time.
> 
> Instead, we can use Kbuild-ish way for that purpose:
>   $ make omap4_panda_config all CROSS_COMPILE=arm-linux-gnuabi-

compile test for this setup and a few others run successfully on OS X
Lion as build-host.
Runtime test on at least one avr32 and one at91 board will follow this
weekend.

I saw a few times full compiler output instead of the shortened 'CC
...'. Especially generating the linker script, reformatting binaries
with objcopy and doing the final linkage of u-boot ELF. Maybe you want
to sort that out?
Sorry if that was discussed before, haven't followed the whole discussion.

Nevertheless, many thanks for your great work!

Best regards

Andreas Bießmann


More information about the U-Boot mailing list