mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
pixman: add ARM config
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
@@ -22,6 +22,17 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
if [ "$TARGET_ARCH" = arm ]; then
|
||||
if [ "$TARGET_FPU" = neon -o "$TARGET_FPU" = neon-fp16 ]; then
|
||||
CFG_NEON="--enable-arm-neon"
|
||||
else
|
||||
CFG_NEON="--disable-arm-neon"
|
||||
fi
|
||||
ARCH_CONFIG="--disable-mmx --disable-sse2 --disable-vmx --enable-arm-simd $CFG_NEON"
|
||||
elif [ "$TARGET_ARCH" = i386 -o "$TARGET_ARCH" = x86_64 ]; then
|
||||
ARCH_CONFIG="--enable-mmx --enable-sse2 --disable-vmx --disable-arm-simd --disable-arm-neon"
|
||||
fi
|
||||
|
||||
cd $PKG_BUILD
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
@@ -31,11 +42,7 @@ cd $PKG_BUILD
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--disable-openmp \
|
||||
--enable-mmx \
|
||||
--enable-sse2 \
|
||||
--disable-vmx \
|
||||
--disable-arm-simd \
|
||||
--disable-arm-neon \
|
||||
$ARCH_CONFIG \
|
||||
--enable-gcc-inline-asm \
|
||||
--disable-timers \
|
||||
--disable-gtk \
|
||||
|
||||
Reference in New Issue
Block a user