u-boot/examples/api
Che-liang Chiou 349e83f071 examples: api: allow build with private libgcc
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@chromium.org>
Acked-by: Mike Frysinger <vapier@gentoo.org>
2011-10-22 00:40:06 +02:00
..
.gitignore Move api_examples to examples/api 2009-07-21 09:23:36 +02:00
crt0.S Move api_examples to examples/api 2009-07-21 09:23:36 +02:00
demo.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
glue.c Move api_examples to examples/api 2009-07-21 09:23:36 +02:00
glue.h Move api_examples to examples/api 2009-07-21 09:23:36 +02:00
libgenwrap.c examples: update do_reset prototype 2011-01-09 17:53:45 +01:00
Makefile examples: api: allow build with private libgcc 2011-10-22 00:40:06 +02:00