diff options
| author | Christian Riesch <[email protected]> | 2011-11-29 00:11:03 +0000 |
|---|---|---|
| committer | Albert ARIBAUD <[email protected]> | 2011-12-06 23:59:37 +0100 |
| commit | 5cb939fb04a3d5f2ca1174a367a3fc27aed30c6a (patch) | |
| tree | 12892d775b5597be78918e439261d1a7e736f879 | |
| parent | f7264c36cde2d9423798fd7a93cd20698f426b44 (diff) | |
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 <[email protected]>
Cc: Wolfgang Denk <[email protected]>
Cc: Albert Aribaud <[email protected]>
Acked-by: Tom Rini <[email protected]>
Acked-by: Andreas Bießmann <[email protected]>
| -rw-r--r-- | arch/arm/lib/eabi_compat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/lib/eabi_compat.c b/arch/arm/lib/eabi_compat.c index eb3e26d4d20..e1b87bebadb 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; } |
