From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Andreas_Bie=DFmann?= Date: Thu, 30 Jan 2014 22:35:42 +0100 Subject: [U-Boot] [PATCH v8 0/38] Switch over to real Kbuild In-Reply-To: <1390998395-18567-1-git-send-email-yamada.m@jp.panasonic.com> References: <1390998395-18567-1-git-send-email-yamada.m@jp.panasonic.com> Message-ID: <52EAC5AE.40004@googlemail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Masahiro Yamada, On 29.01.14 13:25, Masahiro Yamada wrote: > 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