diff --git a/overlays/xtensa_mtk_mt818x_adsp/binutils/include/xtensa-config.h b/overlays/xtensa_mtk_mt818x_adsp/binutils/include/xtensa-config.h index 84aeb9ea..06d58bc9 100644 --- a/overlays/xtensa_mtk_mt818x_adsp/binutils/include/xtensa-config.h +++ b/overlays/xtensa_mtk_mt818x_adsp/binutils/include/xtensa-config.h @@ -183,3 +183,7 @@ #endif /* !XTENSA_CONFIG_H */ + +#ifndef XCHAL_HAVE_PREDICTED_BRANCHES +#define XCHAL_HAVE_PREDICTED_BRANCHES 0 /* Needed by Zephyr SDK binutils */ +#endif diff --git a/overlays/xtensa_mtk_mt818x_adsp/gcc/include/xtensa-config.h b/overlays/xtensa_mtk_mt818x_adsp/gcc/include/xtensa-config.h index 84aeb9ea..06d58bc9 100644 --- a/overlays/xtensa_mtk_mt818x_adsp/gcc/include/xtensa-config.h +++ b/overlays/xtensa_mtk_mt818x_adsp/gcc/include/xtensa-config.h @@ -183,3 +183,7 @@ #endif /* !XTENSA_CONFIG_H */ + +#ifndef XCHAL_HAVE_PREDICTED_BRANCHES +#define XCHAL_HAVE_PREDICTED_BRANCHES 0 /* Needed by Zephyr SDK binutils */ +#endif diff --git a/overlays/xtensa_mtk_mt818x_adsp/gdb/include/xtensa-config.h b/overlays/xtensa_mtk_mt818x_adsp/gdb/include/xtensa-config.h index 84aeb9ea..06d58bc9 100644 --- a/overlays/xtensa_mtk_mt818x_adsp/gdb/include/xtensa-config.h +++ b/overlays/xtensa_mtk_mt818x_adsp/gdb/include/xtensa-config.h @@ -183,3 +183,7 @@ #endif /* !XTENSA_CONFIG_H */ + +#ifndef XCHAL_HAVE_PREDICTED_BRANCHES +#define XCHAL_HAVE_PREDICTED_BRANCHES 0 /* Needed by Zephyr SDK binutils */ +#endif diff --git a/overlays/xtensa_mtk_mt8196_adsp/binutils/include/xtensa-config.h b/overlays/xtensa_mtk_mt8196_adsp/binutils/include/xtensa-config.h index 036261de..aa287209 100644 --- a/overlays/xtensa_mtk_mt8196_adsp/binutils/include/xtensa-config.h +++ b/overlays/xtensa_mtk_mt8196_adsp/binutils/include/xtensa-config.h @@ -183,3 +183,7 @@ #endif /* !XTENSA_CONFIG_H */ + +#ifndef XCHAL_HAVE_PREDICTED_BRANCHES +#define XCHAL_HAVE_PREDICTED_BRANCHES 0 /* Needed by Zephyr SDK binutils */ +#endif diff --git a/overlays/xtensa_mtk_mt8196_adsp/gcc/include/xtensa-config.h b/overlays/xtensa_mtk_mt8196_adsp/gcc/include/xtensa-config.h index 036261de..aa287209 100644 --- a/overlays/xtensa_mtk_mt8196_adsp/gcc/include/xtensa-config.h +++ b/overlays/xtensa_mtk_mt8196_adsp/gcc/include/xtensa-config.h @@ -183,3 +183,7 @@ #endif /* !XTENSA_CONFIG_H */ + +#ifndef XCHAL_HAVE_PREDICTED_BRANCHES +#define XCHAL_HAVE_PREDICTED_BRANCHES 0 /* Needed by Zephyr SDK binutils */ +#endif diff --git a/overlays/xtensa_mtk_mt8196_adsp/gdb/include/xtensa-config.h b/overlays/xtensa_mtk_mt8196_adsp/gdb/include/xtensa-config.h index 036261de..aa287209 100644 --- a/overlays/xtensa_mtk_mt8196_adsp/gdb/include/xtensa-config.h +++ b/overlays/xtensa_mtk_mt8196_adsp/gdb/include/xtensa-config.h @@ -183,3 +183,7 @@ #endif /* !XTENSA_CONFIG_H */ + +#ifndef XCHAL_HAVE_PREDICTED_BRANCHES +#define XCHAL_HAVE_PREDICTED_BRANCHES 0 /* Needed by Zephyr SDK binutils */ +#endif