From: Christian Riesch Date: Tue, 29 Nov 2011 00:11:03 +0000 (+0000) Subject: arm: printf() is not available in some SPL configurations X-Git-Tag: v2011.12-rc1~60^2~35 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5cb939fb04a3d5f2ca1174a367a3fc27aed30c6a;p=oweals%2Fu-boot.git arm: printf() is not available in some SPL configurations This patch avoids build breakage for SPLs that do not support printf. Signed-off-by: Christian Riesch Cc: Wolfgang Denk Cc: Albert Aribaud Acked-by: Tom Rini Acked-by: Andreas Bießmann --- diff --git a/arch/arm/lib/eabi_compat.c b/arch/arm/lib/eabi_compat.c index eb3e26d4d2..e1b87bebad 100644 --- a/arch/arm/lib/eabi_compat.c +++ b/arch/arm/lib/eabi_compat.c @@ -13,7 +13,9 @@ int raise (int signum) { +#if !defined(CONFIG_SPL_BUILD) || defined(CONFIG_SPL_LIBCOMMON_SUPPORT) printf("raise: Signal # %d caught\n", signum); +#endif return 0; }