public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] ARM: OMAP: Problem when compiling with -DDEBUG and SPL_BUILD
@ 2011-11-10  9:06 Thomas Weber
  0 siblings, 0 replies; only message in thread
From: Thomas Weber @ 2011-11-10  9:06 UTC (permalink / raw)
  To: u-boot

Hello,

I configured u-boot for devkit8000_config and enabled -DDEBUG in config.mk.

I get the following error:

lib/libgeneric.o: In function `panic':
u-boot/lib/vsprintf.c:730: undefined reference to `do_reset'
make[1]: *** [u-boot/spl/u-boot-spl] error 1


I think it is a problem with the CONFIG_SPL_BUILD.
commit 05bad4aa56 scaled down version of generic libraries for SPL

The function do_reset is in arch/arm/lib/reset.c

In arch/arm/lib/Makefile:

ifndef CONFIG_SPL_BUILD
...
COBJS-y	+= reset.o
...
endif


but in

lib/Makefile:
ifndef CONFIG_SPL_BUILD
...
endif

COBJS-y += vsprintf.o


Thomas

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-11-10  9:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-10  9:06 [U-Boot] ARM: OMAP: Problem when compiling with -DDEBUG and SPL_BUILD Thomas Weber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox