From 0bb989879ef1f1d1d2c7d7819781ffd7cb392731 Mon Sep 17 00:00:00 2001 From: Ian Leonard Date: Sat, 12 Jun 2021 07:47:37 +0000 Subject: [PATCH] show_config: not all devices will have TARGET_FPU set Signed-off-by: Ian Leonard --- config/show_config | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/show_config b/config/show_config index 5e2e3261b5..79e4b0c61e 100755 --- a/config/show_config +++ b/config/show_config @@ -16,7 +16,9 @@ show_config() { config_message+="\n - CPU (ARCH):\t\t\t\t $TARGET_CPU ($TARGET_ARCH)" config_message+="\n - FLOAT:\t\t\t\t $TARGET_FLOAT" - config_message+="\n - FPU:\t\t\t\t\t $TARGET_FPU" + if [ -n "${TARGET_FPU}" ]; then + config_message+="\n - FPU:\t\t\t\t\t ${TARGET_FPU}" + fi config_message+="\n - CPU features:\t\t\t $TARGET_FEATURES" config_message+="\n - LTO (Link Time Optimization) support: $LTO_SUPPORT" config_message+="\n - GOLD (Google Linker) Support:\t $GOLD_SUPPORT"