From 04d15f567d0493654df519f404f564e2591e9453 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 4 Mar 2013 10:15:20 -0600 Subject: yocto-bsp: add support for linux-yocto-dev (From meta-yocto rev: 637104794a5646869d03ff5851d94199b1584dcf) Signed-off-by: Tom Zanussi Signed-off-by: Richard Purdie --- .../substrate/target/arch/mips/conf/machine/{{=machine}}.conf | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'scripts/lib/bsp/substrate/target/arch/mips/conf/machine/{{=machine}}.conf') diff --git a/scripts/lib/bsp/substrate/target/arch/mips/conf/machine/{{=machine}}.conf b/scripts/lib/bsp/substrate/target/arch/mips/conf/machine/{{=machine}}.conf index 4dd5940188..08bb9f193d 100644 --- a/scripts/lib/bsp/substrate/target/arch/mips/conf/machine/{{=machine}}.conf +++ b/scripts/lib/bsp/substrate/target/arch/mips/conf/machine/{{=machine}}.conf @@ -11,12 +11,13 @@ KERNEL_IMAGETYPE = "vmlinux" KERNEL_ALT_IMAGETYPE = "vmlinux.bin" {{ if kernel_choice == "custom": preferred_kernel = "linux-yocto-custom" }} -{{ if kernel_choice == "custom": }} +{{ if kernel_choice == "linux-yocto-dev": preferred_kernel = "linux-yocto-dev" }} +{{ if kernel_choice == "custom" or kernel_choice == "linux-yocto-dev" : }} PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" -{{ if kernel_choice != "custom": preferred_kernel = kernel_choice.split('_')[0] }} -{{ if kernel_choice != "custom": preferred_kernel_version = kernel_choice.split('_')[1] }} -{{ if kernel_choice != "custom": }} +{{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel = kernel_choice.split('_')[0] }} +{{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel_version = kernel_choice.split('_')[1] }} +{{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": }} PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" PREFERRED_VERSION_{{=preferred_kernel}} ?= "{{=preferred_kernel_version}}%" -- cgit v1.2.3-54-g00ecf