summaryrefslogtreecommitdiffstats
path: root/examples/api/demo.c
diff options
context:
space:
mode:
authorChe-liang Chiou <clchiou@chromium.org>2011-10-17 21:04:15 +0000
committerWolfgang Denk <wd@denx.de>2011-10-22 00:40:06 +0200
commit349e83f071e2bf7bd9fec50377bbdcfb1a143666 (patch)
tree147c344fcac3fd84c04eab2156b5fce863663d68 /examples/api/demo.c
parentdf6a36fbef32cd7f27b9ce7da22ad16d0b4ed62c (diff)
downloadblackbird-obmc-uboot-349e83f071e2bf7bd9fec50377bbdcfb1a143666.tar.gz
blackbird-obmc-uboot-349e83f071e2bf7bd9fec50377bbdcfb1a143666.zip
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>
Diffstat (limited to 'examples/api/demo.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud