mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
config/arch: split in to seperate ARCH configurations
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
8f1775260d
commit
d854ac4369
8
config/arch.arm
Normal file
8
config/arch.arm
Normal file
@ -0,0 +1,8 @@
|
||||
# determine architecture's family
|
||||
TARGET_SUBARCH=arm
|
||||
TARGET_ABI=eabi
|
||||
|
||||
# determines TARGET_CPU, if not forced by user
|
||||
if [ -z "$TARGET_CPU" ]; then
|
||||
TARGET_CPU=cortex-a8
|
||||
fi
|
7
config/arch.i386
Normal file
7
config/arch.i386
Normal file
@ -0,0 +1,7 @@
|
||||
# determine architecture's family
|
||||
TARGET_SUBARCH=i686
|
||||
|
||||
# determines TARGET_CPU, if not forced by user
|
||||
if [ -z "$TARGET_CPU" ]; then
|
||||
TARGET_CPU=i686
|
||||
fi
|
7
config/arch.x86_64
Normal file
7
config/arch.x86_64
Normal file
@ -0,0 +1,7 @@
|
||||
# determine architecture's family
|
||||
TARGET_SUBARCH=x86_64
|
||||
|
||||
# determines TARGET_CPU, if not forced by user
|
||||
if [ -z "$TARGET_CPU" ]; then
|
||||
TARGET_CPU=core2
|
||||
fi
|
@ -10,7 +10,7 @@ set -e
|
||||
ADDONS=addons
|
||||
|
||||
# include ARCH specific options
|
||||
. config/arch
|
||||
. config/arch.$TARGET_ARCH
|
||||
|
||||
HOST_NAME=`$SCRIPTS/configtools/config.guess`
|
||||
TARGET_NAME=${TARGET_SUBARCH}-openelec-linux-gnu${TARGET_ABI}
|
||||
|
Loading…
x
Reference in New Issue
Block a user