mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
gcc-linaro-arm-linux-gnueabihf: update name and path
This commit is contained in:
parent
700b54c13a
commit
675025b7b9
@ -16,7 +16,7 @@
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="gcc-linaro-arm-linux-gnuebihf"
|
||||
PKG_NAME="gcc-linaro-arm-linux-gnueabihf"
|
||||
PKG_VERSION="7.2.1-2017.11"
|
||||
PKG_SHA256="cee0087b1f1205b73996651b99acd3a926d136e71047048f1758ffcec69b1ca2"
|
||||
PKG_ARCH="any"
|
||||
@ -30,11 +30,11 @@ PKG_LONGDESC="Linaro ARMv8 GNU Linux Binary Toolchain"
|
||||
PKG_TOOLCHAIN="manual"
|
||||
|
||||
makeinstall_host() {
|
||||
mkdir -p $TOOLCHAIN/lib/gcc-linaro-arm-linux-gnuebihf/
|
||||
cp -a * $TOOLCHAIN/lib/gcc-linaro-arm-linux-gnuebihf
|
||||
mkdir -p $TOOLCHAIN/lib/gcc-linaro-arm-linux-gnueabihf/
|
||||
cp -a * $TOOLCHAIN/lib/gcc-linaro-arm-linux-gnueabihf
|
||||
|
||||
# wrap gcc and g++ with ccache like in gcc package.mk
|
||||
PKG_GCC_PREFIX="$TOOLCHAIN/lib/gcc-linaro-arm-linux-gnuebihf/bin/arm-linux-gnueabihf-"
|
||||
PKG_GCC_PREFIX="$TOOLCHAIN/lib/gcc-linaro-arm-linux-gnueabihf/bin/arm-linux-gnueabihf-"
|
||||
|
||||
cp "${PKG_GCC_PREFIX}gcc" "${PKG_GCC_PREFIX}gcc.real"
|
||||
cat > "${PKG_GCC_PREFIX}gcc" << EOF
|
@ -77,8 +77,8 @@ if [ "$TARGET_KERNEL_ARCH" = "arm64" -a "$TARGET_ARCH" = "arm" ]; then
|
||||
fi
|
||||
|
||||
if [ "$LINUX" = "amlogic-3.10" -a "$TARGET_KERNEL_ARCH" = "arm" -a "$TARGET_ARCH" = "arm" ]; then
|
||||
PKG_DEPENDS_HOST="$PKG_DEPENDS_HOST gcc-linaro-arm-linux-gnuebihf:host"
|
||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET gcc-linaro-arm-linux-gnuebihf:host"
|
||||
PKG_DEPENDS_HOST="$PKG_DEPENDS_HOST gcc-linaro-arm-linux-gnueabihf:host"
|
||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET gcc-linaro-arm-linux-gnueabihf:host"
|
||||
fi
|
||||
|
||||
if [ "$PKG_BUILD_PERF" != "no" ] && grep -q ^CONFIG_PERF_EVENTS= $PKG_KERNEL_CFG_FILE ; then
|
||||
|
@ -35,7 +35,7 @@
|
||||
TARGET_FEATURES="32bit"
|
||||
|
||||
# TARGET_KERNEL_PREFIX
|
||||
TARGET_KERNEL_RELATIVE_PREFIX="lib/gcc-linaro-arm-linux-gnuebihf/bin/arm-linux-gnueabihf-"
|
||||
TARGET_KERNEL_RELATIVE_PREFIX="lib/gcc-linaro-arm-linux-gnueabihf/bin/arm-linux-gnueabihf-"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
@ -35,7 +35,7 @@
|
||||
TARGET_FEATURES="32bit"
|
||||
|
||||
# TARGET_KERNEL_PREFIX
|
||||
TARGET_KERNEL_RELATIVE_PREFIX="lib/gcc-linaro-arm-linux-gnuebihf/bin/arm-linux-gnueabihf-"
|
||||
TARGET_KERNEL_RELATIVE_PREFIX="lib/gcc-linaro-arm-linux-gnueabihf/bin/arm-linux-gnueabihf-"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user