mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 14:37:59 +00:00
Merge pull request #5123 from HiassofT/le10-arm-mem
config/options: add ARM_MEM_SUPPORT option to control arm-mem inclusion
This commit is contained in:
commit
8a50423273
@ -30,6 +30,13 @@ export PROJECT="${PROJECT:-Generic}"
|
||||
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
|
||||
|
||||
|
@ -12,7 +12,7 @@ PKG_DEPENDS_INIT="toolchain glibc:init"
|
||||
PKG_SECTION="virtual"
|
||||
PKG_LONGDESC="Meta package for installing various tools and libs needed for libc"
|
||||
|
||||
if [ "${TARGET_ARCH}" = "arm" ]; then
|
||||
if [ "${ARM_MEM_SUPPORT}" = "yes" ]; then
|
||||
PKG_DEPENDS_TARGET+=" arm-mem"
|
||||
PKG_DEPENDS_INIT+=" arm-mem:init"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user