From 610fa1aadc41ebffcc6901fd99586cd77feeae6f Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Fri, 8 May 2020 17:16:20 +0800 Subject: [PATCH] openamp: Fix libmetal build break for arm Signed-off-by: Xiang Xiao --- openamp/libmetal.defs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openamp/libmetal.defs b/openamp/libmetal.defs index c51db0ccb2..0ea4537041 100644 --- a/openamp/libmetal.defs +++ b/openamp/libmetal.defs @@ -39,6 +39,8 @@ ifeq ($(CONFIG_ARCH), sim) LIBMETAL_ARCH = x86_64 else ifeq ($(CONFIG_ARCH), risc-v) LIBMETAL_ARCH = riscv +else +LIBMETAL_ARCH = $(CONFIG_ARCH) endif CSRCS += libmetal/lib/system/nuttx/condition.c