projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d2f746
)
break build if it would produce broken binary
author
Pavel Machek
<pavel@denx.de>
Mon, 13 Apr 2015 12:49:28 +0000
(14:49 +0200)
committer
Tom Rini
<trini@konsulko.com>
Mon, 13 Apr 2015 14:52:51 +0000
(10:52 -0400)
Add an error in known-bad case so that we don't produce broken and
hard to debug binaries.
Signed-off-by: Pavel Machek <pavel@denx.de>
arch/arm/include/asm/u-boot.h
patch
|
blob
|
history
diff --git
a/arch/arm/include/asm/u-boot.h
b/arch/arm/include/asm/u-boot.h
index 43cc49468382301da46fb98520bd0eedf0ff4628..ae4c21bf36a8529d8feaf803cbfd48402b28ecdd 100644
(file)
--- a/
arch/arm/include/asm/u-boot.h
+++ b/
arch/arm/include/asm/u-boot.h
@@
-49,4
+49,8
@@
typedef struct bd_info {
#define IH_ARCH_DEFAULT IH_ARCH_ARM64
#endif
+#if defined(CONFIG_USE_PRIVATE_LIBGCC) && defined(CONFIG_SYS_THUMB_BUILD)
+#error Thumb build does not work with private libgcc.
+#endif
+
#endif /* _U_BOOT_H_ */