From 5612e2652dd9b23412e4f9903c5d98c27939b5da Mon Sep 17 00:00:00 2001 From: Darren Hart Date: Tue, 21 Jan 2014 23:58:45 +0000 Subject: 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 Cc: Richard Purdie Cc: Paul Eggleton Cc: Tom Zanussi Cc: Nitin Kamble Cc: Mark Hatle Cc: Bruce Ashfield Cc: Martin Jansa Signed-off-by: Richard Purdie --- .../substrate/target/arch/x86_64/conf/machine/{{=machine}}.conf | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'scripts/lib/bsp') 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}}" PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" PREFERRED_VERSION_{{=preferred_kernel}} ?= "{{=preferred_kernel_version}}%" +{{ input type:"choicelist" name:"tunefile" prio:"40" msg:"Which machine tuning would you like to use?" default:"tune_core2" }} +{{ input type:"choice" val:"tune_core2" msg:"Core2 tuning optimizations" }} +{{ input type:"choice" val:"tune_corei7" msg:"Corei7 tuning optimizations" }} +{{ if tunefile == "tune_core2": }} DEFAULTTUNE ?= "core2-64" require conf/machine/include/tune-core2.inc +{{ if tunefile == "tune_corei7": }} +DEFAULTTUNE ?= "corei7-64" +require conf/machine/include/tune-corei7.inc + require conf/machine/include/x86-base.inc MACHINE_FEATURES += "wifi efi pcbios" -- cgit 1.2.3-korg