Skip to content

Commit a2b0c2c

Browse files
ycsinMaureenHelm
authored andcommitted
include: stop breaking the compilation of OOT architectures
Zephyr support out-of-tree architectures so we shouldn't throw error for archs not listed here. Signed-off-by: Yong Cong Sin <[email protected]>
1 parent f18af66 commit a2b0c2c

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

include/zephyr/arch/arch_inlines.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@
3232
#include <zephyr/arch/posix/arch_inlines.h>
3333
#elif defined(CONFIG_SPARC)
3434
#include <zephyr/arch/sparc/arch_inlines.h>
35-
#else
36-
#error "Unknown Architecture"
3735
#endif
3836

3937
#endif /* ZEPHYR_INCLUDE_ARCH_INLINES_H_ */

include/zephyr/arch/cpu.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@
3131
#include <zephyr/arch/posix/arch.h>
3232
#elif defined(CONFIG_SPARC)
3333
#include <zephyr/arch/sparc/arch.h>
34-
#else
35-
#error "Unknown Architecture"
3634
#endif
3735

3836
#endif /* ZEPHYR_INCLUDE_ARCH_CPU_H_ */

0 commit comments

Comments
 (0)