diff options
author | Darren Hart <dvhart@linux.intel.com> | 2014-01-21 23:58:45 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-01-28 00:51:58 +0000 |
commit | 5612e2652dd9b23412e4f9903c5d98c27939b5da (patch) | |
tree | 246eea4e42be1c2dd53fa065f4bc138277fc3d8c /scripts/lib/bsp | |
parent | 279af938edd033075be91b89668c10ac26373de6 (diff) | |
download | poky-5612e2652dd9b23412e4f9903c5d98c27939b5da.tar.gz |
yocto-bsp: Add core2 and corei7 tune choice to x86_64
Update the x86_64 architecture bsp creator to include choices for core2
and corei7 tune files.
(From meta-yocto rev: 06a16db32eae5b2280642643009fa653dc6f7839)
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Paul Eggleton <paul.eggleton@intel.com>
Cc: Tom Zanussi <tom.zanussi@intel.com>
Cc: Nitin Kamble <nitin.a.kamble@intel.com>
Cc: Mark Hatle <mark.hatle@windriver.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Cc: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/bsp')
-rw-r--r-- | scripts/lib/bsp/substrate/target/arch/x86_64/conf/machine/{{=machine}}.conf | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/lib/bsp/substrate/target/arch/x86_64/conf/machine/{{=machine}}.conf b/scripts/lib/bsp/substrate/target/arch/x86_64/conf/machine/{{=machine}}.conf index 6685d07ab2..53e8e92e6d 100644 --- a/scripts/lib/bsp/substrate/target/arch/x86_64/conf/machine/{{=machine}}.conf +++ b/scripts/lib/bsp/substrate/target/arch/x86_64/conf/machine/{{=machine}}.conf | |||
@@ -14,8 +14,16 @@ PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" | |||
14 | PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" | 14 | PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" |
15 | PREFERRED_VERSION_{{=preferred_kernel}} ?= "{{=preferred_kernel_version}}%" | 15 | PREFERRED_VERSION_{{=preferred_kernel}} ?= "{{=preferred_kernel_version}}%" |
16 | 16 | ||
17 | {{ input type:"choicelist" name:"tunefile" prio:"40" msg:"Which machine tuning would you like to use?" default:"tune_core2" }} | ||
18 | {{ input type:"choice" val:"tune_core2" msg:"Core2 tuning optimizations" }} | ||
19 | {{ input type:"choice" val:"tune_corei7" msg:"Corei7 tuning optimizations" }} | ||
20 | {{ if tunefile == "tune_core2": }} | ||
17 | DEFAULTTUNE ?= "core2-64" | 21 | DEFAULTTUNE ?= "core2-64" |
18 | require conf/machine/include/tune-core2.inc | 22 | require conf/machine/include/tune-core2.inc |
23 | {{ if tunefile == "tune_corei7": }} | ||
24 | DEFAULTTUNE ?= "corei7-64" | ||
25 | require conf/machine/include/tune-corei7.inc | ||
26 | |||
19 | require conf/machine/include/x86-base.inc | 27 | require conf/machine/include/x86-base.inc |
20 | 28 | ||
21 | MACHINE_FEATURES += "wifi efi pcbios" | 29 | MACHINE_FEATURES += "wifi efi pcbios" |