提交 a6a4c542 编写于 作者: P Pavel Machek 提交者: Tom Rini

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: NPavel Machek <pavel@denx.de>
上级 1d2f7469
...@@ -49,4 +49,8 @@ typedef struct bd_info { ...@@ -49,4 +49,8 @@ typedef struct bd_info {
#define IH_ARCH_DEFAULT IH_ARCH_ARM64 #define IH_ARCH_DEFAULT IH_ARCH_ARM64
#endif #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_ */ #endif /* _U_BOOT_H_ */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册