mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
ffmpeg: cleanup buildscript
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
6bf0a10c26
commit
e6e7063e6f
@ -61,17 +61,17 @@ fi
|
|||||||
|
|
||||||
case "$TARGET_ARCH" in
|
case "$TARGET_ARCH" in
|
||||||
arm)
|
arm)
|
||||||
FFMPEG_CPU="--enable-armv5te --disable-armv6t2 --enable-armv6"
|
FFMPEG_CPU=""
|
||||||
FFMPEG_TABLES="--enable-hardcoded-tables"
|
FFMPEG_TABLES="--enable-hardcoded-tables"
|
||||||
FFMPEG_PIC="--enable-pic"
|
FFMPEG_PIC="--enable-pic"
|
||||||
;;
|
;;
|
||||||
i?86)
|
i?86)
|
||||||
FFMPEG_CPU="--disable-armv5te --disable-armv6t2 --disable-armv6"
|
FFMPEG_CPU=""
|
||||||
FFMPEG_TABLES="--disable-hardcoded-tables"
|
FFMPEG_TABLES="--disable-hardcoded-tables"
|
||||||
FFMPEG_PIC="--disable-pic"
|
FFMPEG_PIC="--disable-pic"
|
||||||
;;
|
;;
|
||||||
x86_64)
|
x86_64)
|
||||||
FFMPEG_CPU="--disable-armv5te --disable-armv6t2 --disable-armv6"
|
FFMPEG_CPU=""
|
||||||
FFMPEG_TABLES="--disable-hardcoded-tables"
|
FFMPEG_TABLES="--disable-hardcoded-tables"
|
||||||
FFMPEG_PIC="--enable-pic"
|
FFMPEG_PIC="--enable-pic"
|
||||||
;;
|
;;
|
||||||
@ -79,19 +79,19 @@ esac
|
|||||||
|
|
||||||
case "$TARGET_FPU" in
|
case "$TARGET_FPU" in
|
||||||
neon*)
|
neon*)
|
||||||
FFMPEG_FPU="--enable-neon --disable-armvfp"
|
FFMPEG_FPU="--enable-neon"
|
||||||
;;
|
;;
|
||||||
vfp*)
|
vfp*)
|
||||||
FFMPEG_FPU="--enable-armvfp --disable-neon"
|
FFMPEG_FPU=""
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
FFMPEG_FPU="--disable-neon --disable-armvfp"
|
FFMPEG_FPU=""
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
export pkg_config="$ROOT/$TOOLCHAIN/bin/pkg-config"
|
export pkg_config="$ROOT/$TOOLCHAIN/bin/pkg-config"
|
||||||
|
|
||||||
# libav fails building with LTO support
|
# ffmpeg fails building with LTO support
|
||||||
strip_lto
|
strip_lto
|
||||||
|
|
||||||
#LDFLAGS="$(echo "$LDFLAGS" | sed "s/-Wl,-Bsymbolic-functions//g")"
|
#LDFLAGS="$(echo "$LDFLAGS" | sed "s/-Wl,-Bsymbolic-functions//g")"
|
||||||
@ -218,8 +218,5 @@ cd $PKG_BUILD/
|
|||||||
--disable-sram \
|
--disable-sram \
|
||||||
--disable-symver \
|
--disable-symver \
|
||||||
|
|
||||||
#sed -i -e "s#define HAVE_SYMVER 1#define HAVE_SYMVER 0#" config.h &&
|
|
||||||
#sed -i -e "s#define HAVE_SYMVER_GNU_ASM 1#define HAVE_SYMVER_GNU_ASM 0#" config.h
|
|
||||||
|
|
||||||
make V=1
|
make V=1
|
||||||
$MAKEINSTALL
|
$MAKEINSTALL
|
||||||
|
Loading…
x
Reference in New Issue
Block a user