[U-Boot] ARM: OMAP: Problem when compiling with -DDEBUG and SPL_BUILD
Thomas Weber
weber at corscience.de
Thu Nov 10 10:06:01 CET 2011
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
More information about the U-Boot
mailing list