Skip to content
Snippets Groups Projects
Commit a6a4c542 authored by Pavel Machek's avatar Pavel Machek Committed by Tom Rini
Browse files

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: default avatarPavel Machek <pavel@denx.de>
parent 1d2f7469
No related branches found
No related tags found
No related merge requests found
......@@ -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_ */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment