[U-Boot] [PATCH V2] examples: api: allow build with private libgcc

Wolfgang Denk wd at denx.de
Sat Oct 22 00:40:18 CEST 2011


Dear Che-Liang Chiou,

In message <1318921455-9611-1-git-send-email-clchiou at chromium.org> you wrote:
> The examples/api is not configured with USE_PRIVATE_LIBGCC.  This makes
> building examples/api break on certain boards that do not/cannot use the
> public libgcc.
> 
> Nevertheless, this patch has to also touch the top-level Makefile to fix
> this problem because the current top-level Makefile does not specify
> libgcc as a prerequisite of examples/api, and explicitly builds
> examples/api _before_ libgcc.
> 
> For testing this patch, I added the following to configs/seaboard.h and
> ran demo.bin on a Seaboard.
> 
> +#define CONFIG_API
> +#define CONFIG_SYS_MMC_MAX_DEVICE 2
> +#define CONFIG_CMD_NET
> +#define CONFIG_NET_MULTI
> 
> Signed-off-by: Che-Liang Chiou <clchiou at chromium.org>
> Acked-by: Mike Frysinger <vapier at gentoo.org>
> ---
> 
> Sorry, please ignore the previous V2 patch. I missed to git-add a
> couple of lines to that patch.
> 
> Changes in V2
>   Rebase to ToT
> 
>  Makefile              |   22 +++++++++++++---------
>  examples/api/Makefile |    4 +---
>  2 files changed, 14 insertions(+), 12 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A Vulcan can  no  sooner  be  disloyal  than  he  can  exist  without
breathing.
	-- Kirk, "The Menagerie", stardate 3012.4


More information about the U-Boot mailing list