From 9c94bfc29efc73502190842301d9c36afcfdbf1c Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Wed, 29 Aug 2012 16:33:32 -0500 Subject: yocto-bsp: include meta-intel.inc if emgd selected With move of ia32-base to oe-core, the intel-specific variables were split off into meta-intel.inc, which needs to be included when using components present only in meta-intel. In the case of i386, that's currently just emgd, so conditionally include emgd if emgd is selected as the xserver choice. (From meta-yocto rev: b9cc7ce3407d3bc3909e7cc57c8a1290cb84a58b) Signed-off-by: Tom Zanussi Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- .../lib/bsp/substrate/target/arch/i386/conf/machine/{{=machine}}.conf | 2 ++ 1 file changed, 2 insertions(+) (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 2a07889a5f..1da230629a 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 @@ -20,6 +20,8 @@ require conf/machine/include/tune-atom.inc require conf/machine/include/tune-core2.inc require conf/machine/include/ia32-base.inc +{{ if xserver == "y" and xserver_choice == "xserver_emgd": }} +require conf/machine/include/meta-intel.inc {{ input type:"boolean" name:"xserver" prio:"50" msg:"Do you need support for X? (y/n)" default:"y" }} -- cgit v1.2.3-54-g00ecf