arm-mem: use for all arm-based builds

This commit is contained in:
MilhouseVH 2019-03-15 08:27:09 +00:00
parent e19777028e
commit 23b1fa6b08
2 changed files with 3 additions and 2 deletions

View File

@ -14,7 +14,7 @@ PKG_DEPENDS_INIT="toolchain arm-mem"
PKG_LONGDESC="arm-mem is a ARM-accelerated versions of selected functions from string.h"
PKG_BUILD_FLAGS="+pic"
if [ "$DEVICE" = "RPi2" -o "$DEVICE" = "Slice3" ] ; then
if target_has_feature neon; then
PKG_LIB_ARM_MEM="libarmmem-v7l.so"
else
PKG_LIB_ARM_MEM="libarmmem-v6l.so"

View File

@ -1,5 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libc"
PKG_VERSION=""
@ -11,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 [ "$BOOTLOADER" = "bcm2835-bootloader" ]; then
if [ "${TARGET_ARCH}" = "arm" ]; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET arm-mem"
PKG_DEPENDS_INIT="$PKG_DEPENDS_INIT arm-mem:init"
fi