diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-22 17:32:21 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-25 14:36:30 +0100 |
commit | 255719f0232df9186a0acbb9994f1fdec8dcb263 (patch) | |
tree | b7b7217ab8443971700d9b2d4321698a1cf8ef7c /meta | |
parent | d7c67a1a05ebd320580d344c283f41c826ff3f7c (diff) | |
download | poky-255719f0232df9186a0acbb9994f1fdec8dcb263.tar.gz |
conf/machine/include: Start to fill out architecture specific tune include files and tune features
These changes revolve around the idea of tune features. These are represented by
'flag' strings that are included in the TUNE_FEATURES variable.
Any string included in TUNE_FEATURES should also add a TUNEVALID[<name>] entry so
we can know which flags are available in TUNE_FEATURES and have documentation about
what the flags do. We will add sanity code to error if flags are listed in
TUNE_FEATURES but are not documented in TUNEVALID.
A given tune configuration will want to define one or more predetermined sets of
_FEATURE flag lists. These are defined in the form TUNE_FEATURES_tune-<name>.
For defined tune configuation, <name> should be added to the AVAILTUNE list so that
we can determine what tune configurations are available. Flags cannot be used in this
case as with TUNEVALID since its useful to be able to build up tune lists from other
TUNE_FEATURES_tune-yyy options.
A given tune configuration may also define PACKAGE_EXTRA_ARCHS_tune-<name> and
BASE_LIB_tune-<name> to control the multilib location. All options can be overridden
by the distro or local user configuration.
(From OE-Core rev: 5f9d56bd64997b93ed7e46c117851002a0556654)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
29 files changed, 96 insertions, 36 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 9d1c7690bc..380da1c5bb 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -83,6 +83,8 @@ HOST_EXEEXT = "" | |||
83 | 83 | ||
84 | TUNE_ARCH ??= "INVALID" | 84 | TUNE_ARCH ??= "INVALID" |
85 | TUNE_CCARGS ??= "" | 85 | TUNE_CCARGS ??= "" |
86 | TUNE_FEATURES ??= "${TUNE_FEATURES_tune-${DEFAULTTUNE}}" | ||
87 | PACKAGE_EXTRA_ARCHS_tune-${DEFAULTTUNE} ??= "${TARGET_ARCH}" | ||
86 | 88 | ||
87 | TARGET_ARCH = "${TUNE_ARCH}" | 89 | TARGET_ARCH = "${TUNE_ARCH}" |
88 | TARGET_OS = "INVALID" | 90 | TARGET_OS = "INVALID" |
@@ -100,7 +102,7 @@ SDK_CC_ARCH = "${BUILD_CC_ARCH}" | |||
100 | 102 | ||
101 | PACKAGE_ARCH = "${TUNE_PKGARCH}" | 103 | PACKAGE_ARCH = "${TUNE_PKGARCH}" |
102 | MACHINE_ARCH = "${@[bb.data.getVar('TUNE_PKGARCH', d, 1), bb.data.getVar('MACHINE', d, 1)][bool(bb.data.getVar('MACHINE', d, 1))].replace('-', '_')}" | 104 | MACHINE_ARCH = "${@[bb.data.getVar('TUNE_PKGARCH', d, 1), bb.data.getVar('MACHINE', d, 1)][bool(bb.data.getVar('MACHINE', d, 1))].replace('-', '_')}" |
103 | PACKAGE_EXTRA_ARCHS ??= "${TARGET_ARCH}" | 105 | PACKAGE_EXTRA_ARCHS ??= "${PACKAGE_EXTRA_ARCHS_tune-${DEFAULTTUNE}}" |
104 | PACKAGE_ARCHS = "all any noarch ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}" | 106 | PACKAGE_ARCHS = "all any noarch ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}" |
105 | # MACHINE_ARCH shouldn't be included here as a variable dependency | 107 | # MACHINE_ARCH shouldn't be included here as a variable dependency |
106 | # since machine specific packages are handled using multimachine | 108 | # since machine specific packages are handled using multimachine |
diff --git a/meta/conf/machine/include/arm/arch-arm.inc b/meta/conf/machine/include/arm/arch-arm.inc new file mode 100644 index 0000000000..e773d14c2a --- /dev/null +++ b/meta/conf/machine/include/arm/arch-arm.inc | |||
@@ -0,0 +1 @@ | |||
TUNE_ARCH = "arm" | |||
diff --git a/meta/conf/machine/include/ia32/arch-ia32.inc b/meta/conf/machine/include/ia32/arch-ia32.inc new file mode 100644 index 0000000000..d1d66052a1 --- /dev/null +++ b/meta/conf/machine/include/ia32/arch-ia32.inc | |||
@@ -0,0 +1,31 @@ | |||
1 | # | ||
2 | # IA32 Architecture definition | ||
3 | # | ||
4 | |||
5 | DEFAULTTUNE ?= "x86" | ||
6 | TARGET_FPU ?= "" | ||
7 | |||
8 | # ELF32 ABI | ||
9 | TUNEVALID[m32] = "IA32 ELF32 standard ABI" | ||
10 | TUNECONFLICTS[m32] = "m64" | ||
11 | TUNE_ARCH .= "${@bb.utils.contains("TUNE_FEATURES", "m32", "i586", "" ,d)}" | ||
12 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "m32", "-m32", "", d)}" | ||
13 | |||
14 | # ELF64 ABI | ||
15 | TUNEVALID[m64] = "IA32e (x86_64) ELF64 standard ABI" | ||
16 | TUNECONFLICT[m64] = "m32" | ||
17 | TUNE_ARCH .= "${@bb.utils.contains("TUNE_FEATURES", "m64", "x86_64", "" ,d)}" | ||
18 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "m64", "-m64", "", d)}" | ||
19 | |||
20 | TUNE_PKGARCH ?= "${@bb.utils.contains("TUNE_FEATURES", "m32", "x86", "x86_64", d)}" | ||
21 | |||
22 | # Default Tune configurations | ||
23 | AVAILTUNES += "x86" | ||
24 | TUNE_FEATURES_tune-x86 ?= "m32" | ||
25 | BASE_LIB_tune-x86 ?= "lib" | ||
26 | PACKAGE_EXTRA_ARCHS_tune-x86 = "x86" | ||
27 | |||
28 | AVAILTUNES += "x86-64" | ||
29 | TUNE_FEATURES_tune-x86-64 ?= "m64" | ||
30 | BASE_LIB_tune-x86-64 ?= "lib64" | ||
31 | PACKAGE_EXTRA_ARCHS_tune-x86-64 = "x86_64" | ||
diff --git a/meta/conf/machine/include/mips/arch-mips.inc b/meta/conf/machine/include/mips/arch-mips.inc new file mode 100644 index 0000000000..f7f4eeddff --- /dev/null +++ b/meta/conf/machine/include/mips/arch-mips.inc | |||
@@ -0,0 +1 @@ | |||
TUNE_ARCH = "mips" | |||
diff --git a/meta/conf/machine/include/powerpc/arch-powerpc.inc b/meta/conf/machine/include/powerpc/arch-powerpc.inc new file mode 100644 index 0000000000..5ab81d4156 --- /dev/null +++ b/meta/conf/machine/include/powerpc/arch-powerpc.inc | |||
@@ -0,0 +1 @@ | |||
TUNE_ARCH = "powerpc" | |||
diff --git a/meta/conf/machine/include/tune-arm1136jf-s.inc b/meta/conf/machine/include/tune-arm1136jf-s.inc index c1d0c0705b..953f0dd966 100644 --- a/meta/conf/machine/include/tune-arm1136jf-s.inc +++ b/meta/conf/machine/include/tune-arm1136jf-s.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | TUNE_ARCH = "arm" | 1 | require conf/machine/include/arm/arch-arm.inc |
2 | 2 | ||
3 | TUNE_CCARGS = "-march=armv6j -mtune=arm1136jf-s" | 3 | TUNE_CCARGS = "-march=armv6j -mtune=arm1136jf-s" |
4 | TUNE_CCARGS += "${@['', '-mfloat-abi=softfp -mfpu=vfp'][(bb.data.getVar('TARGET_FPU', d, 1) == 'soft') and (bb.data.getVar('CPU_FEATURES', d, 1).find('vfp') != -1)]}" | 4 | TUNE_CCARGS += "${@['', '-mfloat-abi=softfp -mfpu=vfp'][(bb.data.getVar('TARGET_FPU', d, 1) == 'soft') and (bb.data.getVar('CPU_FEATURES', d, 1).find('vfp') != -1)]}" |
diff --git a/meta/conf/machine/include/tune-arm920t.inc b/meta/conf/machine/include/tune-arm920t.inc index 3f30e2ab87..6c8702657c 100644 --- a/meta/conf/machine/include/tune-arm920t.inc +++ b/meta/conf/machine/include/tune-arm920t.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | TUNE_ARCH = "arm" | 1 | require conf/machine/include/arm/arch-arm.inc |
2 | 2 | ||
3 | TUNE_PKGARCH = "armv4t" | 3 | TUNE_PKGARCH = "armv4t" |
4 | TUNE_CCARGS = "-march=armv4t -mtune=arm920t" | 4 | TUNE_CCARGS = "-march=armv4t -mtune=arm920t" |
diff --git a/meta/conf/machine/include/tune-arm926ejs.inc b/meta/conf/machine/include/tune-arm926ejs.inc index 049f57cb3f..543ab62c70 100644 --- a/meta/conf/machine/include/tune-arm926ejs.inc +++ b/meta/conf/machine/include/tune-arm926ejs.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | TUNE_ARCH = "arm" | 1 | require conf/machine/include/arm/arch-arm.inc |
2 | 2 | ||
3 | TUNE_PKGARCH = "armv5te" | 3 | TUNE_PKGARCH = "armv5te" |
4 | PACKAGE_EXTRA_ARCHS = "arm armv4 armv4t armv5te" | 4 | PACKAGE_EXTRA_ARCHS = "arm armv4 armv4t armv5te" |
diff --git a/meta/conf/machine/include/tune-arm9tdmi.inc b/meta/conf/machine/include/tune-arm9tdmi.inc index 0ed2f40908..f1001ac65d 100644 --- a/meta/conf/machine/include/tune-arm9tdmi.inc +++ b/meta/conf/machine/include/tune-arm9tdmi.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | TUNE_ARCH = "arm" | 1 | require conf/machine/include/arm/arch-arm.inc |
2 | 2 | ||
3 | TUNE_PKGARCH = "armv4t" | 3 | TUNE_PKGARCH = "armv4t" |
4 | PACKAGE_EXTRA_ARCHS = "arm armv4 armv4t" | 4 | PACKAGE_EXTRA_ARCHS = "arm armv4 armv4t" |
diff --git a/meta/conf/machine/include/tune-armv7.inc b/meta/conf/machine/include/tune-armv7.inc index 2e32323ebf..8a68c0abe3 100644 --- a/meta/conf/machine/include/tune-armv7.inc +++ b/meta/conf/machine/include/tune-armv7.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | TUNE_ARCH = "arm" | 1 | require conf/machine/include/arm/arch-arm.inc |
2 | 2 | ||
3 | # valid options for -march: `armv7', `armv7-a', `armv7-r', `armv7-m' | 3 | # valid options for -march: `armv7', `armv7-a', `armv7-r', `armv7-m' |
4 | # valid option for -mtune: `cortex-a8', `cortex-r4', `cortex-m3', `cortex-m1' | 4 | # valid option for -mtune: `cortex-a8', `cortex-r4', `cortex-m3', `cortex-m1' |
diff --git a/meta/conf/machine/include/tune-atom.inc b/meta/conf/machine/include/tune-atom.inc index 52acd12ba8..5e1bb74c6c 100644 --- a/meta/conf/machine/include/tune-atom.inc +++ b/meta/conf/machine/include/tune-atom.inc | |||
@@ -1,7 +1,2 @@ | |||
1 | TUNE_ARCH = "i586" | 1 | # Atom tunings are the same as core2 for now... |
2 | 2 | require conf/machine/include/tune-core2.inc | |
3 | TUNE_PKGARCH = "core2" | ||
4 | TUNE_CCARGS = "-m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse" | ||
5 | #MOBLIN_CFLAGS = "-Os -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables" | ||
6 | |||
7 | PACKAGE_EXTRA_ARCHS = "x86 i386 i486 i586 i686 core2" | ||
diff --git a/meta/conf/machine/include/tune-c3.inc b/meta/conf/machine/include/tune-c3.inc index dbe1e43abc..e1569f5952 100644 --- a/meta/conf/machine/include/tune-c3.inc +++ b/meta/conf/machine/include/tune-c3.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | TUNE_ARCH = "i586" | 1 | require conf/machine/include/ia32/arch-ia32.inc |
2 | 2 | ||
3 | TUNE_PKGARCH = "i586" | 3 | TUNE_PKGARCH = "i586" |
4 | 4 | ||
diff --git a/meta/conf/machine/include/tune-core2.inc b/meta/conf/machine/include/tune-core2.inc new file mode 100644 index 0000000000..138ca170d0 --- /dev/null +++ b/meta/conf/machine/include/tune-core2.inc | |||
@@ -0,0 +1,21 @@ | |||
1 | DEFAULTTUNE ?= "core2" | ||
2 | TUNE_ARCH ?= "${@bb.utils.contains("TUNE_FEATURES", "m32", "i686", "x86_64", d)}" | ||
3 | TUNE_PKGARCH ?= "${@bb.utils.contains("TUNE_FEATURES", "m32", "core2", "core2-64", d)}" | ||
4 | |||
5 | require conf/machine/include/tune-i586.inc | ||
6 | |||
7 | # Extra tune features | ||
8 | TUNEVALID[core2] = "Enable core2 specific processor optimizations" | ||
9 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "core2", "-march=core2 -msse3 -mtune=generic -mfpmath=sse", "", d)}" | ||
10 | |||
11 | # Extra tune selections | ||
12 | AVAILTUNES += "core2" | ||
13 | TUNE_FEATURES_tune-core2 ?= "${TUNE_FEATURES_tune-x86} core2" | ||
14 | BASE_LIB_tune-core2 ?= "lib" | ||
15 | PACKAGE_EXTRA_ARCHS_tune-core2 = "${PACKAGE_EXTRA_ARCHS_tune-x86} i386 i486 i586 i686 core2" | ||
16 | |||
17 | AVAILTUNES += "core2-64" | ||
18 | TUNE_FEATURES_tune-core2-64 ?= "${TUNE_FEATURES_tune-x86-64} core2" | ||
19 | BASE_LIB_tune-core2-64 ?= "lib64" | ||
20 | PACKAGE_EXTRA_ARCHS_tune-core2-64 = "${PACKAGE_EXTRA_ARCHS_tune-x86-64} core2-64" | ||
21 | |||
diff --git a/meta/conf/machine/include/tune-cortexa8.inc b/meta/conf/machine/include/tune-cortexa8.inc index 9be423abff..ae5095486b 100644 --- a/meta/conf/machine/include/tune-cortexa8.inc +++ b/meta/conf/machine/include/tune-cortexa8.inc | |||
@@ -1,4 +1,5 @@ | |||
1 | TUNE_ARCH = "arm" | 1 | require conf/machine/include/arm/arch-arm.inc |
2 | |||
2 | 3 | ||
3 | # Instead of using -mfpu=vfp[2] we can use -mfpu=neon to make use of gcc intrinsics[1] and vectorize loops with -ftree-vectorize[3] | 4 | # Instead of using -mfpu=vfp[2] we can use -mfpu=neon to make use of gcc intrinsics[1] and vectorize loops with -ftree-vectorize[3] |
4 | # [1] http://gcc.gnu.org/onlinedocs/gcc/ARM-NEON-Intrinsics.html | 5 | # [1] http://gcc.gnu.org/onlinedocs/gcc/ARM-NEON-Intrinsics.html |
diff --git a/meta/conf/machine/include/tune-cortexm1.inc b/meta/conf/machine/include/tune-cortexm1.inc index d0d3b2cb17..b944db4552 100644 --- a/meta/conf/machine/include/tune-cortexm1.inc +++ b/meta/conf/machine/include/tune-cortexm1.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | TUNE_ARCH = "arm" | 1 | require conf/machine/include/arm/arch-arm.inc |
2 | 2 | ||
3 | TUNE_CCARGS = "-march=armv7 -mtune=cortex-m1 -mfpu=vfp -mfloat-abi=softfp" | 3 | TUNE_CCARGS = "-march=armv7 -mtune=cortex-m1 -mfpu=vfp -mfloat-abi=softfp" |
4 | TUNE_PKGARCH = "armv6" | 4 | TUNE_PKGARCH = "armv6" |
diff --git a/meta/conf/machine/include/tune-cortexm3.inc b/meta/conf/machine/include/tune-cortexm3.inc index 495c8f6420..a77cbddfcd 100644 --- a/meta/conf/machine/include/tune-cortexm3.inc +++ b/meta/conf/machine/include/tune-cortexm3.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | TUNE_ARCH = "arm" | 1 | require conf/machine/include/arm/arch-arm.inc |
2 | 2 | ||
3 | # valid options for -march: `armv7', `armv7-m' | 3 | # valid options for -march: `armv7', `armv7-m' |
4 | TUNE_CCARGS = "-march=armv7-m -mtune=cortex-m3 -mfpu=vfp -mfloat-abi=softfp" | 4 | TUNE_CCARGS = "-march=armv7-m -mtune=cortex-m3 -mfpu=vfp -mfloat-abi=softfp" |
diff --git a/meta/conf/machine/include/tune-cortexr4.inc b/meta/conf/machine/include/tune-cortexr4.inc index c775e8309e..c9193ca8c3 100644 --- a/meta/conf/machine/include/tune-cortexr4.inc +++ b/meta/conf/machine/include/tune-cortexr4.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | TUNE_ARCH = "arm" | 1 | require conf/machine/include/arm/arch-arm.inc |
2 | 2 | ||
3 | # valid options for -march: `armv7', `armv7-r' | 3 | # valid options for -march: `armv7', `armv7-r' |
4 | TUNE_CCARGS = "-march=armv7-r -mtune=cortex-r4 -mfpu=vfp -mfloat-abi=softfp" | 4 | TUNE_CCARGS = "-march=armv7-r -mtune=cortex-r4 -mfpu=vfp -mfloat-abi=softfp" |
diff --git a/meta/conf/machine/include/tune-ep9312.inc b/meta/conf/machine/include/tune-ep9312.inc index 8c7fc5a1d8..e04a00a984 100644 --- a/meta/conf/machine/include/tune-ep9312.inc +++ b/meta/conf/machine/include/tune-ep9312.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | TUNE_ARCH = "arm" | 1 | require conf/machine/include/arm/arch-arm.inc |
2 | 2 | ||
3 | TUNE_CCARGS = "-march=ep9312 -mtune=ep9312 -mcpu=ep9312" | 3 | TUNE_CCARGS = "-march=ep9312 -mtune=ep9312 -mcpu=ep9312" |
4 | # add "-mfp=maverick" for newer gcc versions > 4.0 | 4 | # add "-mfp=maverick" for newer gcc versions > 4.0 |
diff --git a/meta/conf/machine/include/tune-i586.inc b/meta/conf/machine/include/tune-i586.inc index 1dc44dfd67..ba655b94d3 100644 --- a/meta/conf/machine/include/tune-i586.inc +++ b/meta/conf/machine/include/tune-i586.inc | |||
@@ -1,6 +1,15 @@ | |||
1 | TUNE_ARCH = "i586" | 1 | DEFAULTTUNE ?= "i586" |
2 | TUNE_PKGARCH ?= "i586" | ||
2 | 3 | ||
3 | TUNE_PKGARCH = "i586" | 4 | require conf/machine/include/ia32/arch-ia32.inc |
4 | TUNE_CCARGS = "-m32 -march=i586" | 5 | |
6 | # Extra tune features | ||
7 | TUNEVALID[i586] = "Enable i586 specific processor optimizations" | ||
8 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "i586", "-march=i586", "", d)}" | ||
9 | |||
10 | # Extra tune selections | ||
11 | AVAILTUNES += "i586" | ||
12 | TUNE_FEATURES_tune-i586 ?= "${TUNE_FEATURES_tune-x86} i586" | ||
13 | BASE_LIB_tune-i586 ?= "lib" | ||
14 | PACKAGE_EXTRA_ARCHS_tune-i586 = "${PACKAGE_EXTRA_ARCHS_tune-x86} i386 i486 i586" | ||
5 | 15 | ||
6 | PACKAGE_EXTRA_ARCHS = "x86 i386 i486 i586" | ||
diff --git a/meta/conf/machine/include/tune-iwmmxt.inc b/meta/conf/machine/include/tune-iwmmxt.inc index 236cede988..6bb76d5b32 100644 --- a/meta/conf/machine/include/tune-iwmmxt.inc +++ b/meta/conf/machine/include/tune-iwmmxt.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | TUNE_ARCH = "arm" | 1 | require conf/machine/include/arm/arch-arm.inc |
2 | 2 | ||
3 | # Configurations for the Intel PXA27x Appications Processor Family. | 3 | # Configurations for the Intel PXA27x Appications Processor Family. |
4 | # Please use tune-xscale for PXA255/PXA26x based processors. | 4 | # Please use tune-xscale for PXA255/PXA26x based processors. |
diff --git a/meta/conf/machine/include/tune-mips32.inc b/meta/conf/machine/include/tune-mips32.inc index 182d16cf22..28b00479e2 100644 --- a/meta/conf/machine/include/tune-mips32.inc +++ b/meta/conf/machine/include/tune-mips32.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | TUNE_ARCH = "mips" | 1 | require conf/machine/include/mips/arch-mips.inc |
2 | 2 | ||
3 | TUNE_CCARGS = "-march=mips32" | 3 | TUNE_CCARGS = "-march=mips32" |
4 | TUNE_PKGARCH = "mips" | 4 | TUNE_PKGARCH = "mips" |
diff --git a/meta/conf/machine/include/tune-ppc603e.inc b/meta/conf/machine/include/tune-ppc603e.inc index ec43cfe831..61c0669acf 100644 --- a/meta/conf/machine/include/tune-ppc603e.inc +++ b/meta/conf/machine/include/tune-ppc603e.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | TUNE_ARCH = "powerpc" | 1 | require conf/machine/include/powerpc/arch-powerpc.inc |
2 | 2 | ||
3 | TUNE_CCARGS = "-mcpu=603e -mhard-float" | 3 | TUNE_CCARGS = "-mcpu=603e -mhard-float" |
4 | TUNE_PKGARCH = "ppc603e" | 4 | TUNE_PKGARCH = "ppc603e" |
diff --git a/meta/conf/machine/include/tune-ppce300c2.inc b/meta/conf/machine/include/tune-ppce300c2.inc index ac232424bf..a38e97c18b 100644 --- a/meta/conf/machine/include/tune-ppce300c2.inc +++ b/meta/conf/machine/include/tune-ppce300c2.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | TUNE_ARCH = "powerpc" | 1 | require conf/machine/include/powerpc/arch-powerpc.inc |
2 | 2 | ||
3 | TUNE_CCARGS = "-mcpu=e300c2 -msoft-float" | 3 | TUNE_CCARGS = "-mcpu=e300c2 -msoft-float" |
4 | TUNE_PKGARCH = "ppce300" | 4 | TUNE_PKGARCH = "ppce300" |
diff --git a/meta/conf/machine/include/tune-ppce500.inc b/meta/conf/machine/include/tune-ppce500.inc index a342cfba9f..22208f0722 100644 --- a/meta/conf/machine/include/tune-ppce500.inc +++ b/meta/conf/machine/include/tune-ppce500.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | TUNE_ARCH = "powerpc" | 1 | require conf/machine/include/powerpc/arch-powerpc.inc |
2 | 2 | ||
3 | TUNE_CCARGS = "-mcpu=8540" | 3 | TUNE_CCARGS = "-mcpu=8540" |
4 | BASE_PACKAGE_ARCH = "ppce500" | 4 | BASE_PACKAGE_ARCH = "ppce500" |
diff --git a/meta/conf/machine/include/tune-ppce500mc.inc b/meta/conf/machine/include/tune-ppce500mc.inc index 497c1a412d..182d019c32 100644 --- a/meta/conf/machine/include/tune-ppce500mc.inc +++ b/meta/conf/machine/include/tune-ppce500mc.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | TUNE_ARCH = "powerpc" | 1 | require conf/machine/include/powerpc/arch-powerpc.inc |
2 | 2 | ||
3 | TUNE_CCARGS = "-mcpu=e500mc" | 3 | TUNE_CCARGS = "-mcpu=e500mc" |
4 | TUNE_PKGARCH = "ppce500mc" | 4 | TUNE_PKGARCH = "ppce500mc" |
diff --git a/meta/conf/machine/include/tune-ppce500v2.inc b/meta/conf/machine/include/tune-ppce500v2.inc index 1c56829795..daf2d58005 100644 --- a/meta/conf/machine/include/tune-ppce500v2.inc +++ b/meta/conf/machine/include/tune-ppce500v2.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | TUNE_ARCH = "powerpc" | 1 | require conf/machine/include/powerpc/arch-powerpc.inc |
2 | 2 | ||
3 | TUNE_CCARGS = "-mcpu=8548 -mabi=spe -mspe" | 3 | TUNE_CCARGS = "-mcpu=8548 -mabi=spe -mspe" |
4 | TUNE_PKGARCH = "ppce500v2" | 4 | TUNE_PKGARCH = "ppce500v2" |
diff --git a/meta/conf/machine/include/tune-strongarm1100.inc b/meta/conf/machine/include/tune-strongarm1100.inc index ec290532a2..2b76069208 100644 --- a/meta/conf/machine/include/tune-strongarm1100.inc +++ b/meta/conf/machine/include/tune-strongarm1100.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | TUNE_ARCH = "arm" | 1 | require conf/machine/include/arm/arch-arm.inc |
2 | 2 | ||
3 | TUNE_PKGARCH = "arm" | 3 | TUNE_PKGARCH = "arm" |
4 | 4 | ||
diff --git a/meta/conf/machine/include/tune-x86_64.inc b/meta/conf/machine/include/tune-x86_64.inc index 08ff30a23d..04b0f96678 100644 --- a/meta/conf/machine/include/tune-x86_64.inc +++ b/meta/conf/machine/include/tune-x86_64.inc | |||
@@ -1,5 +1,3 @@ | |||
1 | TUNE_ARCH = "x86_64" | 1 | require conf/machine/include/ia32/arch-ia32.inc |
2 | |||
3 | TUNE_PKGARCH = "x86_64" | ||
4 | TUNE_CCARGS = "-m64" | ||
5 | 2 | ||
3 | DEFAULTTUNE = "x86-64" | ||
diff --git a/meta/conf/machine/include/tune-xscale.inc b/meta/conf/machine/include/tune-xscale.inc index 9618a8b513..71dba5bb1e 100644 --- a/meta/conf/machine/include/tune-xscale.inc +++ b/meta/conf/machine/include/tune-xscale.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | TUNE_ARCH = "arm" | 1 | require conf/machine/include/arm/arch-arm.inc |
2 | 2 | ||
3 | INHERIT += "siteinfo" | 3 | INHERIT += "siteinfo" |
4 | 4 | ||