config/arch: split in to seperate ARCH configurations

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-03-21 01:30:30 +01:00
parent 8f1775260d
commit d854ac4369
4 changed files with 23 additions and 1 deletions

8
config/arch.arm Normal file
View 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
View 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
View 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

View File

@ -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}