forked from OpenELEC/OpenELEC.tv
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
- Loading branch information
Showing
298 changed files
with
41,757 additions
and
209,896 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# determines TARGET_CPU, if not forced by user | ||
if [ -z "$TARGET_CPU" ]; then | ||
TARGET_CPU=cortex-a53 | ||
fi | ||
|
||
# TARGET_CPU: | ||
# arm2 arm250 arm3 arm6 arm60 arm600 arm610 arm620 arm7 arm7m arm7d | ||
# arm7dm arm7di arm7dmi arm70 arm700 arm700i arm710 arm710c arm7100 | ||
# arm720 arm7500 arm7500fe arm7tdmi arm7tdmi-s arm710t arm720t | ||
# arm740t strongarm strongarm110 strongarm1100 strongarm1110 arm8 | ||
# arm810 arm9 arm9e arm920 arm920t arm922t arm946e-s arm966e-s | ||
# arm968e-s arm926ej-s arm940t arm9tdmi arm10tdmi arm1020t | ||
# arm1026ej-s arm10e arm1020e arm1022e arm1136j-s arm1136jf-s | ||
# mpcore mpcorenovfp arm1156t2-s arm1156t2f-s arm1176jz-s | ||
# arm1176jzf-s generic-armv7-a cortex-a5 cortex-a7 cortex-a8 | ||
# cortex-a9 cortex-a12 cortex-a15 cortex-a17 cortex-a53 | ||
# cortex-a57 cortex-a72 cortex-r4 cortex-r4f cortex-r5 cortex-r7 | ||
# cortex-m7 cortex-m4 cortex-m3 cortex-m1 cortex-m0 cortex-m0plus | ||
# cortex-m1.small-multiply cortex-m0.small-multiply | ||
# cortex-m0plus.small-multiply exynos-m1 qdf24xx marvell-pj4 | ||
# xscale iwmmxt iwmmxt2 ep9312 fa526 fa626 fa606te fa626te fmp626 | ||
# fa726te xgene1 cortex-a15.cortex-a7 cortex-a17.cortex-a7 | ||
# cortex-a57.cortex-a53 cortex-a72.cortex-a53 | ||
|
||
# determine architecture's family | ||
case $TARGET_CPU in | ||
cortex-a53) | ||
TARGET_SUBARCH=aarch64 | ||
TARGET_VARIANT=armv8-a | ||
TARGET_ABI=eabi | ||
TARGET_CPU_FLAGS="+crc+crypto" | ||
TARGET_EXTRA_FLAGS="-mcpu=${TARGET_CPU}${TARGET_CPU_FLAGS}" | ||
SIMD_SUPPORT="yes" | ||
;; | ||
esac | ||
|
||
TARGET_GCC_ARCH=$(echo $TARGET_SUBARCH | sed -e "s,-,,") | ||
TARGET_KERNEL_ARCH=arm64 | ||
|
||
# setup ARCH specific *FLAGS | ||
TARGET_CFLAGS="-march=${TARGET_VARIANT}${TARGET_CPU_FLAGS} -mabi=lp64 -Wno-psabi $TARGET_EXTRA_FLAGS" | ||
TARGET_LDFLAGS="-march=${TARGET_VARIANT}${TARGET_CPU_FLAGS} -mtune=$TARGET_CPU" | ||
GCC_OPTS="--with-abi=lp64 --with-arch=$TARGET_VARIANT" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#!/bin/sh | ||
################################################################################ | ||
# This file is part of OpenELEC - http://www.openelec.tv | ||
# Copyright (C) 2009-2016 Stephan Raue ([email protected]) | ||
|
@@ -17,25 +16,19 @@ | |
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>. | ||
################################################################################ | ||
|
||
echo "getting sources..." | ||
if [ ! -d json-c.git ]; then | ||
git clone https://github.com/json-c/json-c.git json-c.git | ||
fi | ||
PKG_NAME="speex" | ||
PKG_VERSION="1.2rc2" | ||
PKG_REV="1" | ||
PKG_ARCH="any" | ||
PKG_LICENSE="BSD" | ||
PKG_SITE="http://downloads.us.xiph.org/releases/speex" | ||
#PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.gz" | ||
PKG_URL="$PKG_SITE/$PKG_NAME-$PKG_VERSION.tar.gz" | ||
PKG_DEPENDS_TARGET="toolchain" | ||
PKG_PRIORITY="optional" | ||
PKG_SECTION="audio" | ||
PKG_SHORTDESC="Speex / OPUS audio codec" | ||
PKG_LONGDESC="Speex / OPUS audio codec" | ||
|
||
cd json-c.git | ||
git pull | ||
GIT_REV=`git log -n1 --format=%h` | ||
cd .. | ||
|
||
echo "copying sources..." | ||
rm -rf json-c-$GIT_REV | ||
cp -R json-c.git json-c-$GIT_REV | ||
|
||
echo "cleaning sources..." | ||
rm -rf json-c-$GIT_REV/.git | ||
|
||
echo "packing sources..." | ||
tar cvJf json-c-$GIT_REV.tar.xz json-c-$GIT_REV | ||
|
||
echo "remove temporary sourcedir..." | ||
rm -rf json-c-$GIT_REV | ||
PKG_IS_ADDON="no" | ||
PKG_AUTORECONF="yes" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.