From 1a128b5b6d6d63bdd614b140e374e2a518d34ba6 Mon Sep 17 00:00:00 2001 From: Ian Leonard Date: Sun, 24 Apr 2022 18:41:49 +0000 Subject: [PATCH] options: relocate ARM_MEM_SUPPORT to distribution options Display in show_config too. Signed-off-by: Ian Leonard --- config/options | 7 ------- config/show_config | 1 + distributions/LibreELEC/options | 7 +++++++ 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/config/options b/config/options index 221463edf9..1973f11652 100644 --- a/config/options +++ b/config/options @@ -35,13 +35,6 @@ fi export ARCH="${ARCH:-x86_64}" TARGET_ARCH="${ARCH}" -# include arm-mem package on arm -if [ "${TARGET_ARCH}" = "arm" ]; then - ARM_MEM_SUPPORT="yes" -else - ARM_MEM_SUPPORT="no" -fi - # include helper functions . config/functions diff --git a/config/show_config b/config/show_config index 58dddeb26c..2ac7d3f2c8 100644 --- a/config/show_config +++ b/config/show_config @@ -33,6 +33,7 @@ show_config() { config_message+="\n - GOLD (Google Linker) Support:\t ${GOLD_SUPPORT}" config_message+="\n - MOLD (Modern Linker) Support:\t ${MOLD_SUPPORT}" config_message+="\n - Default Linker:\t\t\t ${DEFAULT_LINKER}" + config_message+="\n - Accelerated arm libc functions:\t ${ARM_MEM_SUPPORT}" config_message+="\n - LLVM support:\t\t\t ${LLVM_SUPPORT}" config_message+="\n - DEBUG:\t\t\t\t ${DEBUG:-no}" config_message+="\n - CFLAGS:\t\t\t\t ${TARGET_CFLAGS}" diff --git a/distributions/LibreELEC/options b/distributions/LibreELEC/options index 3941b115e0..a4ab096ebd 100644 --- a/distributions/LibreELEC/options +++ b/distributions/LibreELEC/options @@ -50,6 +50,13 @@ # Install glibc locales to the build (yes / no) GLIBC_LOCALES="yes" +# Install arm-mem package on ARM32 (yes / no) + if [ "${TARGET_ARCH}" = "arm" ]; then + ARM_MEM_SUPPORT="yes" + else + ARM_MEM_SUPPORT="no" + fi + # additional drivers to install: # for a list of additional drivers see packages/linux-drivers # Space separated list is supported,