Merge pull request #514 from kszaq/amlogic-libamcodec-s905

libamcodec: make source arch-specific, not project-specific
This commit is contained in:
Christian Hewitt 2016-07-05 08:06:02 +04:00 committed by GitHub
commit 3c03d1e990

View File

@ -21,12 +21,12 @@ PKG_REV="1"
PKG_ARCH="arm aarch64" PKG_ARCH="arm aarch64"
PKG_LICENSE="other" PKG_LICENSE="other"
PKG_SITE="http://openlinux.amlogic.com" PKG_SITE="http://openlinux.amlogic.com"
case $PROJECT in case $TARGET_ARCH in
WeTek_Core|WeTek_Play) arm)
PKG_VERSION="45a1086" PKG_VERSION="45a1086"
PKG_URL="https://github.com/codesnake/libamcodec/archive/$PKG_VERSION.tar.gz" PKG_URL="https://github.com/codesnake/libamcodec/archive/$PKG_VERSION.tar.gz"
;; ;;
Odroid_C2) aarch64)
PKG_VERSION="210755d" PKG_VERSION="210755d"
PKG_URL="http://amlinux.ru/source/$PKG_NAME-$PKG_VERSION.tar.gz" PKG_URL="http://amlinux.ru/source/$PKG_NAME-$PKG_VERSION.tar.gz"
;; ;;