fri2: specify graphics driver as a kernel feature

This change avoids addition of emgd source code in the noemgd bsp kernels.

This configures the fri2 BSP kernel with EMGD graphics driver
and fri2-noemgd BSP kernel with VESA graphics driver.

The VESA FB support is kept for both BSPs for boot time splash screen
support.

This addresses the bug/feature request:
[YOCTO #2268]

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
This commit is contained in:
Nitin A Kamble 2013-01-11 09:33:23 -08:00 committed by Tom Zanussi
parent b21c9ea929
commit 8e200220c2

View File

@ -3,12 +3,14 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
COMPATIBLE_MACHINE_fri2 = "fri2" COMPATIBLE_MACHINE_fri2 = "fri2"
KMACHINE_fri2 = "fri2" KMACHINE_fri2 = "fri2"
KBRANCH_fri2 = "standard/fri2" KBRANCH_fri2 = "standard/fri2"
KERNEL_FEATURES_fri2_append = " features/drm-emgd cfg/vesfb"
SRCREV_machine_pn-linux-yocto_fri2 ?= "${AUTOREV}" SRCREV_machine_pn-linux-yocto_fri2 ?= "${AUTOREV}"
SRCREV_meta_pn-linux-yocto_fri2 ?= "${AUTOREV}" SRCREV_meta_pn-linux-yocto_fri2 ?= "${AUTOREV}"
COMPATIBLE_MACHINE_fri2-noemgd = "fri2-noemgd" COMPATIBLE_MACHINE_fri2-noemgd = "fri2-noemgd"
KMACHINE_fri2-noemgd = "fri2" KMACHINE_fri2-noemgd = "fri2"
KBRANCH_fri2-noemgd = "standard/fri2" KBRANCH_fri2-noemgd = "standard/fri2"
KERNEL_FEATURES_fri2_append = " cfg/vesafb"
SRCREV_machine_pn-linux-yocto_fri2-noemgd ?= "${AUTOREV}" SRCREV_machine_pn-linux-yocto_fri2-noemgd ?= "${AUTOREV}"
SRCREV_meta_pn-linux-yocto_fri2-noemgd ?= "${AUTOREV}" SRCREV_meta_pn-linux-yocto_fri2-noemgd ?= "${AUTOREV}"