From d0dc72c2fbc83c11cd4b44684aa80512e92cd69c Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Mon, 29 Jun 2020 21:54:37 +0800 Subject: [PATCH] boards/x86_64/intel64: enable CONFIG_LIBM=y to fix the math.h can't be found on macOS Signed-off-by: Xiang Xiao --- boards/x86_64/intel64/qemu-intel64/configs/nsh/defconfig | 1 + boards/x86_64/intel64/qemu-intel64/configs/ostest/defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/boards/x86_64/intel64/qemu-intel64/configs/nsh/defconfig b/boards/x86_64/intel64/qemu-intel64/configs/nsh/defconfig index 732bb5aea19..b6e9564f50e 100644 --- a/boards/x86_64/intel64/qemu-intel64/configs/nsh/defconfig +++ b/boards/x86_64/intel64/qemu-intel64/configs/nsh/defconfig @@ -30,6 +30,7 @@ CONFIG_EXAMPLES_HELLO=y CONFIG_EXAMPLES_HELLO_STACKSIZE=4194304 CONFIG_FS_PROCFS=y CONFIG_IDLETHREAD_STACKSIZE=4194304 +CONFIG_LIBM=y CONFIG_MAX_TASKS=64 CONFIG_NFILE_DESCRIPTORS=32 CONFIG_NSH_ARCHINIT=y diff --git a/boards/x86_64/intel64/qemu-intel64/configs/ostest/defconfig b/boards/x86_64/intel64/qemu-intel64/configs/ostest/defconfig index 3ac22f39f70..2c11994b9cd 100644 --- a/boards/x86_64/intel64/qemu-intel64/configs/ostest/defconfig +++ b/boards/x86_64/intel64/qemu-intel64/configs/ostest/defconfig @@ -26,6 +26,7 @@ CONFIG_BOOT_RUNFROMEXTSRAM=y CONFIG_CLOCK_MONOTONIC=y CONFIG_CONSOLE_SYSLOG=y CONFIG_IDLETHREAD_STACKSIZE=4194304 +CONFIG_LIBM=y CONFIG_MAX_TASKS=64 CONFIG_NFILE_DESCRIPTORS=32 CONFIG_PREALLOC_CHILDSTATUS=16