ARC: MWDT: explicitly forbid to use NEWLIB / NATIVE_APPLICATION
ARC MWDT doesn't support building Zephyr as an native application (CONFIG_NATIVE_APPLICATION). ARC MWDT doesn't support building with CONFIG_NEWLIB_LIBC as it doesn't have newlib. Let's explicitly forbid to use these Kconfig options for the MWDT toolchain. Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
This commit is contained in:
parent
d8590d7e2b
commit
27de1e2bdb
1 changed files with 8 additions and 0 deletions
|
@ -71,6 +71,14 @@
|
||||||
#endif
|
#endif
|
||||||
#endif /* _SSIZE_T_DEFINED */
|
#endif /* _SSIZE_T_DEFINED */
|
||||||
|
|
||||||
|
#ifdef CONFIG_NEWLIB_LIBC
|
||||||
|
#error "ARC MWDT doesn't support building with CONFIG_NEWLIB_LIBC as it doesn't have newlib"
|
||||||
|
#endif /* CONFIG_NEWLIB_LIBC */
|
||||||
|
|
||||||
|
#ifdef CONFIG_NATIVE_APPLICATION
|
||||||
|
#error "ARC MWDT doesn't support building Zephyr as an native application"
|
||||||
|
#endif /* CONFIG_NATIVE_APPLICATION */
|
||||||
|
|
||||||
|
|
||||||
#define __no_optimization __attribute__((optnone))
|
#define __no_optimization __attribute__((optnone))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue