Zephyr support out-of-tree architectures so we shouldn't throw error for archs not listed here. Signed-off-by: Yong Cong Sin <ycsin@meta.com>
38 lines
1.1 KiB
C
38 lines
1.1 KiB
C
/*
|
|
* arch_inlines.h - automatically selects the correct arch_inlines.h file to
|
|
* include based on the selected architecture.
|
|
*/
|
|
|
|
/*
|
|
* Copyright (c) 2019 Stephanos Ioannidis <root@stephanos.io>
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef ZEPHYR_INCLUDE_ARCH_INLINES_H_
|
|
#define ZEPHYR_INCLUDE_ARCH_INLINES_H_
|
|
|
|
#if defined(CONFIG_X86)
|
|
#include <zephyr/arch/x86/arch_inlines.h>
|
|
#elif defined(CONFIG_ARM)
|
|
#include <zephyr/arch/arm/arch_inlines.h>
|
|
#elif defined(CONFIG_ARM64)
|
|
#include <zephyr/arch/arm64/arch_inlines.h>
|
|
#elif defined(CONFIG_ARC)
|
|
#include <zephyr/arch/arc/arch_inlines.h>
|
|
#elif defined(CONFIG_XTENSA)
|
|
#include <zephyr/arch/xtensa/arch_inlines.h>
|
|
#elif defined(CONFIG_RISCV)
|
|
#include <zephyr/arch/riscv/arch_inlines.h>
|
|
#elif defined(CONFIG_NIOS2)
|
|
#include <zephyr/arch/nios2/arch_inlines.h>
|
|
#elif defined(CONFIG_MIPS)
|
|
#include <zephyr/arch/mips/arch_inlines.h>
|
|
#elif defined(CONFIG_ARCH_POSIX)
|
|
#include <zephyr/arch/posix/arch_inlines.h>
|
|
#elif defined(CONFIG_SPARC)
|
|
#include <zephyr/arch/sparc/arch_inlines.h>
|
|
#endif
|
|
|
|
#endif /* ZEPHYR_INCLUDE_ARCH_INLINES_H_ */
|