From 279af938edd033075be91b89668c10ac26373de6 Mon Sep 17 00:00:00 2001 From: Darren Hart Date: Tue, 21 Jan 2014 23:35:39 +0000 Subject: yocto-bsp: Update substrate to use the new x86 tune files Update the substrates to use x86-base instead of ia32-base and core2-64 instead of x86-64. Update the core2 bit to include the DEFAULTTUNE to be explicit. (From meta-yocto rev: 3ccc079192ca147382231f0379bae1d04d47a89c) 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 --- .../target/arch/i386/conf/machine/{{=machine}}.conf | 13 +++++++------ .../target/arch/x86_64/conf/machine/{{=machine}}.conf | 15 ++++++++------- 2 files changed, 15 insertions(+), 13 deletions(-) (limited to 'scripts/lib') diff --git a/scripts/lib/bsp/substrate/target/arch/i386/conf/machine/{{=machine}}.conf b/scripts/lib/bsp/substrate/target/arch/i386/conf/machine/{{=machine}}.conf index b06ba12497..2fff9b7e92 100644 --- a/scripts/lib/bsp/substrate/target/arch/i386/conf/machine/{{=machine}}.conf +++ b/scripts/lib/bsp/substrate/target/arch/i386/conf/machine/{{=machine}}.conf @@ -23,9 +23,10 @@ require conf/machine/include/tune-i586.inc {{ if tunefile == "tune_atom": }} require conf/machine/include/tune-atom.inc {{ if tunefile == "tune_core2": }} +DEFAULTTUNE="core2-32" require conf/machine/include/tune-core2.inc -require conf/machine/include/ia32-base.inc +require conf/machine/include/x86-base.inc MACHINE_FEATURES += "wifi efi pcbios" @@ -46,14 +47,14 @@ MACHINE_FEATURES += "wifi efi pcbios" {{ if xserver == "y" and kernel_choice != "linux-yocto_3.4" and kernel_choice != "linux-yocto_3.10" and kernel_choice != "custom": xserver_choice = "xserver_i915" }} {{ if xserver == "y": }} -XSERVER ?= "${XSERVER_IA32_BASE} \ - ${XSERVER_IA32_EXT} \ +XSERVER ?= "${XSERVER_X86_BASE} \ + ${XSERVER_X86_EXT} \ {{ if xserver == "y" and xserver_choice == "xserver_vesa": }} - ${XSERVER_IA32_VESA} \ + ${XSERVER_X86_VESA} \ {{ if xserver == "y" and xserver_choice == "xserver_i915": }} - ${XSERVER_IA32_I915} \ + ${XSERVER_X86_I915} \ {{ if xserver == "y" and xserver_choice == "xserver_i965": }} - ${XSERVER_IA32_I965} \ + ${XSERVER_X86_I965} \ {{ if xserver == "y": }} " 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 2bf2226f18..6685d07ab2 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,9 @@ PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" PREFERRED_VERSION_{{=preferred_kernel}} ?= "{{=preferred_kernel_version}}%" -require conf/machine/include/tune-x86_64.inc -require conf/machine/include/ia32-base.inc +DEFAULTTUNE ?= "core2-64" +require conf/machine/include/tune-core2.inc +require conf/machine/include/x86-base.inc MACHINE_FEATURES += "wifi efi pcbios" @@ -28,14 +29,14 @@ MACHINE_FEATURES += "wifi efi pcbios" {{ input type:"choice" val:"xserver_i915" msg:"i915 xserver support" }} {{ input type:"choice" val:"xserver_i965" msg:"i965 xserver support" }} {{ if xserver == "y": }} -XSERVER ?= "${XSERVER_IA32_BASE} \ - ${XSERVER_IA32_EXT} \ +XSERVER ?= "${XSERVER_X86_BASE} \ + ${XSERVER_X86_EXT} \ {{ if xserver == "y" and xserver_choice == "xserver_vesa": }} - ${XSERVER_IA32_VESA} \ + ${XSERVER_X86_VESA} \ {{ if xserver == "y" and xserver_choice == "xserver_i915": }} - ${XSERVER_IA32_I915} \ + ${XSERVER_X86_I915} \ {{ if xserver == "y" and xserver_choice == "xserver_i965": }} - ${XSERVER_IA32_I965} \ + ${XSERVER_X86_I965} \ {{ if xserver == "y": }} " -- cgit v1.2.3-54-g00ecf