From: Wolfgang Denk Date: Sat, 22 Oct 2011 00:40:18 +0200 Subject: [U-Boot] [PATCH V2] examples: api: allow build with private libgcc In-Reply-To: <1318921455-9611-1-git-send-email-clchiou@chromium.org> References: <1317267384-27599-1-git-send-email-clchiou@chromium.org> <1318921455-9611-1-git-send-email-clchiou@chromium.org> Message-ID: <20111021224018.B16FF11F9E79@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Che-Liang Chiou, In message <1318921455-9611-1-git-send-email-clchiou@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 > Acked-by: Mike Frysinger > --- > > 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