mirror of
https://github.com/libretro/Lakka.git
synced 2024-11-27 10:00:43 +00:00
config/arch.*: add variable to specify SIMD support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
b99ed5d66d
commit
9c8e7bc6b0
@ -29,18 +29,21 @@
|
||||
TARGET_ABI=eabi
|
||||
TARGET_EXTRA_FLAGS="-Wno-psabi -Wa,-mno-warn-deprecated"
|
||||
TARGET_FPU_FLAGS="-mfloat-abi=$TARGET_FLOAT -mfpu=$TARGET_FPU"
|
||||
SIMD_SUPPORT="no"
|
||||
;;
|
||||
cortex-a8)
|
||||
TARGET_SUBARCH=armv7-a
|
||||
TARGET_ABI=eabi
|
||||
TARGET_EXTRA_FLAGS="-Wno-psabi -Wa,-mno-warn-deprecated"
|
||||
TARGET_FPU_FLAGS="-mfloat-abi=$TARGET_FLOAT -mfpu=$TARGET_FPU"
|
||||
SIMD_SUPPORT="yes"
|
||||
;;
|
||||
cortex-a9)
|
||||
TARGET_SUBARCH=armv7-a
|
||||
TARGET_ABI=eabi
|
||||
TARGET_EXTRA_FLAGS="-Wno-psabi -Wa,-mno-warn-deprecated"
|
||||
TARGET_FPU_FLAGS="-mfloat-abi=$TARGET_FLOAT -mfpu=$TARGET_FPU"
|
||||
SIMD_SUPPORT="yes"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
@ -9,3 +9,6 @@
|
||||
# setup ARCH specific *FLAGS
|
||||
TARGET_CFLAGS="-march=$TARGET_CPU -m32"
|
||||
TARGET_LDFLAGS="-march=$TARGET_CPU -m32"
|
||||
|
||||
# build with SIMD support ( yes / no )
|
||||
SIMD_SUPPORT="yes"
|
||||
|
@ -9,3 +9,6 @@
|
||||
# setup ARCH specific *FLAGS
|
||||
TARGET_CFLAGS="-march=$TARGET_CPU -m64"
|
||||
TARGET_LDFLAGS="-march=$TARGET_CPU -m64"
|
||||
|
||||
# build with SIMD support ( yes / no )
|
||||
SIMD_SUPPORT="yes"
|
||||
|
Loading…
Reference in New Issue
Block a user