mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-27 10:30:52 +00:00
packages/*: drop i386 support
This commit is contained in:
parent
4fe8fad558
commit
bebaafb331
@ -38,9 +38,6 @@ make_target() {
|
||||
cd $ROOT/$PKG_BUILD
|
||||
|
||||
case $TARGET_ARCH in
|
||||
i386)
|
||||
INSTALLER_URL="http://sundtek.de/media/netinst/32bit/installer.tar.gz"
|
||||
;;
|
||||
x86_64)
|
||||
INSTALLER_URL="http://sundtek.de/media/netinst/64bit/installer.tar.gz"
|
||||
;;
|
||||
|
@ -61,8 +61,6 @@ fi
|
||||
ARCH=$(sed -n 's|.*\.\([^-]*\)-.*|\1|p' /etc/release | tr -d '\n')
|
||||
if [ "$ARCH" = "x86_64" ]; then
|
||||
INSTALLER_URL="http://sundtek.de/media/netinst/64bit/installer.tar.gz"
|
||||
elif [ "$ARCH" = "i386" ]; then
|
||||
INSTALLER_URL="http://sundtek.de/media/netinst/32bit/installer.tar.gz"
|
||||
elif [ "$ARCH" = "arm" ]; then
|
||||
INSTALLER_URL="http://sundtek.de/media/netinst/armsysvhf/installer.tar.gz"
|
||||
else
|
||||
|
@ -45,7 +45,7 @@ PKG_CONFIGURE_OPTS_TARGET="--enable-static \
|
||||
--with-ogg=$SYSROOT_PREFIX/usr \
|
||||
--with-gnu-ld"
|
||||
|
||||
if [ $TARGET_ARCH = "i386" -o $TARGET_ARCH = "x86_64" ]; then
|
||||
if [ $TARGET_ARCH = "x86_64" ]; then
|
||||
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --enable-sse"
|
||||
else
|
||||
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --disable-sse"
|
||||
|
@ -20,7 +20,7 @@ PKG_NAME="gnu-efi"
|
||||
PKG_VERSION="3.0"
|
||||
PKG_VERSION_SRC="${PKG_VERSION}u"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="i386 x86_64"
|
||||
PKG_ARCH="x86_64"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://sourceforge.net/projects/gnu-efi/"
|
||||
PKG_URL="$SOURCEFORGE_SRC/project/$PKG_NAME/${PKG_NAME}_${PKG_VERSION_SRC}.orig.tar.gz"
|
||||
@ -44,8 +44,6 @@ pre_make_target() {
|
||||
|
||||
if [ "$TARGET_ARCH" = "x86_64" ]; then
|
||||
EFI_ARCH="x86_64"
|
||||
elif [ "$TARGET_ARCH" = "i386" ]; then
|
||||
EFI_ARCH="ia32"
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -82,9 +82,7 @@ PKG_CONFIGURE_OPTS_TARGET="--enable-polly \
|
||||
--disable-libffi \
|
||||
--disable-ltdl-install"
|
||||
|
||||
if [ "$TARGET_ARCH" = i386 ]; then
|
||||
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --enable-targets=x86,r600"
|
||||
elif [ "$TARGET_ARCH" = x86_64 ]; then
|
||||
if [ "$TARGET_ARCH" = x86_64 ]; then
|
||||
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --enable-targets=x86_64,r600"
|
||||
elif [ "$TARGET_ARCH" = arm ]; then
|
||||
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --enable-targets=arm"
|
||||
|
@ -22,7 +22,7 @@
|
||||
PKG_NAME="bcm_sta"
|
||||
PKG_VERSION="6.30.223.248"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="i386 x86_64"
|
||||
PKG_ARCH="x86_64"
|
||||
PKG_LICENSE="nonfree"
|
||||
PKG_SITE="http://www.broadcom.com/"
|
||||
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||
@ -36,14 +36,8 @@ PKG_LONGDESC="These packages contain Broadcom's IEEE 802.11a/b/g/n hybrid Linux
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
if [ "$TARGET_ARCH" = "i386" ]; then
|
||||
DRIVER_ARCH="x86-32"
|
||||
elif [ "$TARGET_ARCH" = "x86_64" ]; then
|
||||
DRIVER_ARCH="x86-64"
|
||||
fi
|
||||
|
||||
make_target() {
|
||||
cd $DRIVER_ARCH
|
||||
cd x86-64
|
||||
KBUILD_NOPEDANTIC=1 make V=1 CC=$CC -C $(kernel_path) M=`pwd` BINARCH=$TARGET_ARCH
|
||||
}
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
PKG_NAME="tbs-linux-drivers"
|
||||
PKG_VERSION="141225"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="i386 x86_64"
|
||||
PKG_ARCH="x86_64"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.tbsdtv.com/english/Download.html"
|
||||
PKG_URL="http://www.tbsdtv.com/download/document/common/tbs-linux-drivers_v${PKG_VERSION}.zip"
|
||||
@ -40,8 +40,7 @@ post_unpack() {
|
||||
|
||||
make_target() {
|
||||
cd $ROOT/$PKG_BUILD/linux-tbs-drivers
|
||||
[ "$TARGET_ARCH" = "i386" ] && ./v4l/tbs-x86_r3.sh
|
||||
[ "$TARGET_ARCH" = "x86_64" ] && ./v4l/tbs-x86_64.sh
|
||||
./v4l/tbs-x86_64.sh
|
||||
LDFLAGS="" make DIR=$(kernel_path) prepare
|
||||
LDFLAGS="" make DIR=$(kernel_path)
|
||||
}
|
||||
|
@ -61,11 +61,6 @@ case "$TARGET_ARCH" in
|
||||
FFMPEG_TABLES="--enable-hardcoded-tables"
|
||||
FFMPEG_PIC="--enable-pic"
|
||||
;;
|
||||
i?86)
|
||||
FFMPEG_CPU=""
|
||||
FFMPEG_TABLES="--disable-hardcoded-tables"
|
||||
FFMPEG_PIC="--disable-pic"
|
||||
;;
|
||||
x86_64)
|
||||
FFMPEG_CPU=""
|
||||
FFMPEG_TABLES="--disable-hardcoded-tables"
|
||||
|
@ -39,7 +39,7 @@ PKG_CONFIGURE_OPTS_TARGET="--disable-test \
|
||||
--disable-silent-rules \
|
||||
--with-gnu-ld"
|
||||
|
||||
if [ $TARGET_ARCH = "i386" -o $TARGET_ARCH = "x86_64" ]; then
|
||||
if [ $TARGET_ARCH = "x86_64" ]; then
|
||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET yasm:host"
|
||||
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --enable-asm"
|
||||
fi
|
||||
|
@ -19,7 +19,7 @@
|
||||
PKG_NAME="libva-intel-driver"
|
||||
PKG_VERSION="1.5.1"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="i386 x86_64"
|
||||
PKG_ARCH="x86_64"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://freedesktop.org/wiki/Software/vaapi"
|
||||
PKG_URL="http://www.freedesktop.org/software/vaapi/releases/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
|
@ -19,7 +19,7 @@
|
||||
PKG_NAME="libva"
|
||||
PKG_VERSION="1.5.1"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="i386 x86_64"
|
||||
PKG_ARCH="x86_64"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://freedesktop.org/wiki/Software/vaapi"
|
||||
PKG_URL="http://cgit.freedesktop.org/vaapi/libva/snapshot/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
|
@ -32,9 +32,7 @@ PKG_LONGDESC="IR Trans transforms your PC into a programmable remote control: It
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
if [ "$TARGET_ARCH" = "i386" ]; then
|
||||
IRSERVER_BIN="irserver"
|
||||
elif [ "$TARGET_ARCH" = "x86_64" ]; then
|
||||
if [ "$TARGET_ARCH" = "x86_64" ]; then
|
||||
IRSERVER_BIN="irserver64"
|
||||
elif [ "$TARGET_ARCH" = "arm" ]; then
|
||||
IRSERVER_BIN="irserver_arm"
|
||||
|
@ -19,7 +19,7 @@
|
||||
PKG_NAME="pciutils"
|
||||
PKG_VERSION="3.3.0"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="i386 x86_64"
|
||||
PKG_ARCH="x86_64"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://mj.ucw.cz/pciutils.shtml"
|
||||
PKG_URL="http://www.kernel.org/pub/software/utils/pciutils/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||
@ -46,7 +46,7 @@ makeinstall_target() {
|
||||
make $PKG_MAKE_OPTS DESTDIR=$SYSROOT_PREFIX install
|
||||
make $PKG_MAKE_OPTS DESTDIR=$SYSROOT_PREFIX install-lib
|
||||
make $PKG_MAKE_OPTS DESTDIR=$INSTALL install-lib
|
||||
if [ "$TARGET_ARCH" = i386 -o "$TARGET_ARCH" = x86_64 ]; then
|
||||
if [ "$TARGET_ARCH" = x86_64 ]; then
|
||||
make $PKG_MAKE_OPTS DESTDIR=$INSTALL install
|
||||
fi
|
||||
}
|
||||
|
@ -19,7 +19,7 @@
|
||||
PKG_NAME="v86d"
|
||||
PKG_VERSION="0.1.10"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="i386 x86_64"
|
||||
PKG_ARCH="x86_64"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://dev.gentoo.org/~spock/projects/uvesafb/"
|
||||
PKG_URL="http://dev.gentoo.org/~spock/projects/uvesafb/archive/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
|
@ -19,7 +19,7 @@
|
||||
PKG_NAME="flashrom"
|
||||
PKG_VERSION="0.9.6"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="i386 x86_64"
|
||||
PKG_ARCH="x86_64"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.flashrom.org"
|
||||
PKG_URL="http://download.flashrom.org/releases/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
|
@ -32,7 +32,7 @@ PKG_LONGDESC="OpenELEC.tv Install manager to install the system on any disk"
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
if [ "$TARGET_ARCH" = "i386" -o "$TARGET_ARCH" = "x86_64" ]; then
|
||||
if [ "$TARGET_ARCH" = "x86_64" ]; then
|
||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET flashrom"
|
||||
fi
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
PKG_NAME="syslinux"
|
||||
PKG_VERSION="6.03"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="i386 x86_64"
|
||||
PKG_ARCH="x86_64"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://syslinux.zytor.com/"
|
||||
PKG_URL="http://www.kernel.org/pub/linux/utils/boot/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||
|
@ -19,7 +19,7 @@
|
||||
PKG_NAME="xf86-video-ati"
|
||||
PKG_VERSION="7.5.0"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="i386 x86_64"
|
||||
PKG_ARCH="x86_64"
|
||||
PKG_LICENSE="OSS"
|
||||
PKG_SITE="http://www.x.org/"
|
||||
PKG_URL="http://xorg.freedesktop.org/archive/individual/driver/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
|
@ -19,7 +19,7 @@
|
||||
PKG_NAME="xf86-video-intel"
|
||||
PKG_VERSION="2.99.910"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="i386 x86_64"
|
||||
PKG_ARCH="x86_64"
|
||||
PKG_LICENSE="OSS"
|
||||
PKG_SITE="http://intellinuxgraphics.org/"
|
||||
PKG_URL="http://xorg.freedesktop.org/archive/individual/driver/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
|
@ -19,11 +19,10 @@
|
||||
PKG_NAME="xf86-video-nvidia-legacy"
|
||||
PKG_VERSION="304.125"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="i386 x86_64"
|
||||
PKG_ARCH="x86_64"
|
||||
PKG_LICENSE="nonfree"
|
||||
PKG_SITE="http://www.nvidia.com/"
|
||||
[ "$TARGET_ARCH" = "i386" ] && PKG_URL="http://us.download.nvidia.com/XFree86/Linux-x86/$PKG_VERSION/NVIDIA-Linux-x86-$PKG_VERSION.run"
|
||||
[ "$TARGET_ARCH" = "x86_64" ] && PKG_URL="http://us.download.nvidia.com/XFree86/Linux-x86_64/$PKG_VERSION/NVIDIA-Linux-x86_64-$PKG_VERSION-no-compat32.run"
|
||||
PKG_URL="http://us.download.nvidia.com/XFree86/Linux-x86_64/$PKG_VERSION/NVIDIA-Linux-x86_64-$PKG_VERSION-no-compat32.run"
|
||||
PKG_DEPENDS_TARGET="toolchain util-macros linux xorg-server libvdpau"
|
||||
PKG_NEED_UNPACK="$LINUX_DEPENDS"
|
||||
PKG_PRIORITY="optional"
|
||||
|
@ -19,11 +19,10 @@
|
||||
PKG_NAME="xf86-video-nvidia"
|
||||
PKG_VERSION="340.76"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="i386 x86_64"
|
||||
PKG_ARCH="x86_64"
|
||||
PKG_LICENSE="nonfree"
|
||||
PKG_SITE="http://www.nvidia.com/"
|
||||
[ "$TARGET_ARCH" = "i386" ] && PKG_URL="http://us.download.nvidia.com/XFree86/Linux-x86/$PKG_VERSION/NVIDIA-Linux-x86-$PKG_VERSION.run"
|
||||
[ "$TARGET_ARCH" = "x86_64" ] && PKG_URL="http://us.download.nvidia.com/XFree86/Linux-x86_64/$PKG_VERSION/NVIDIA-Linux-x86_64-$PKG_VERSION-no-compat32.run"
|
||||
PKG_URL="http://us.download.nvidia.com/XFree86/Linux-x86_64/$PKG_VERSION/NVIDIA-Linux-x86_64-$PKG_VERSION-no-compat32.run"
|
||||
PKG_DEPENDS_TARGET="toolchain util-macros linux xorg-server libvdpau"
|
||||
PKG_NEED_UNPACK="$LINUX_DEPENDS"
|
||||
PKG_PRIORITY="optional"
|
||||
|
@ -39,7 +39,7 @@ if [ "$TARGET_ARCH" = arm ]; then
|
||||
PIXMAN_NEON="--disable-arm-neon"
|
||||
fi
|
||||
PIXMAN_CONFIG="--disable-mmx --disable-sse2 --disable-vmx --enable-arm-simd $PIXMAN_NEON --disable-arm-iwmmxt"
|
||||
elif [ "$TARGET_ARCH" = i386 -o "$TARGET_ARCH" = x86_64 ]; then
|
||||
elif [ "$TARGET_ARCH" = x86_64 ]; then
|
||||
PIXMAN_CONFIG="--enable-mmx --enable-sse2 --disable-ssse3 --disable-vmx --disable-arm-simd --disable-arm-neon"
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user