mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
break build if it would produce broken binary
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>
This commit is contained in:
parent
1d2f74690c
commit
a6a4c542d3
1 changed files with 4 additions and 0 deletions
|
@ -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_ */
|
||||
|
|
Loading…
Add table
Reference in a new issue