genericx86: Use require instead of include
Use require instead of include to avoid silent errors when the required tune files change name or are moved. It's going to fail anyway, it might as well fail with an error message that is immediately helpful. (From meta-yocto rev: 88d925a8991e3e35b17f225a761b7c286b57bcf6) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Paul Eggleton <paul.eggleton@intel.com> Cc: Tom Zanussi <tom.zanussi@intel.com> Cc: Nitin Kamble <nitin.a.kamble@intel.com> Cc: Mark Hatle <mark.hatle@windriver.com> Cc: Bruce Ashfield <bruce.ashfield@windriver.com> Cc: Martin Jansa <martin.jansa@gmail.com> Cc: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
0e0c9ed7c5
commit
cb2b9b546c
|
@ -4,5 +4,5 @@
|
|||
#@DESCRIPTION: Machine configuration for generic X86_64 (64-bit) PCs and servers. Supports a moderately wide range of drivers that should boot and be usable on "typical" hardware.
|
||||
|
||||
DEFAULTTUNE ?= "core2-64"
|
||||
include conf/machine/include/tune-core2.inc
|
||||
include conf/machine/include/genericx86-common.inc
|
||||
require conf/machine/include/tune-core2.inc
|
||||
require conf/machine/include/genericx86-common.inc
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
#@DESCRIPTION: Machine configuration for generic X86 (32-bit) PCs. Supports a moderately wide range of drivers that should boot and be usable on "typical" hardware.
|
||||
|
||||
DEFAULTTUNE ?= "core2-32"
|
||||
include conf/machine/include/tune-core2.inc
|
||||
include conf/machine/include/genericx86-common.inc
|
||||
require conf/machine/include/tune-core2.inc
|
||||
require conf/machine/include/genericx86-common.inc
|
||||
|
|
Loading…
Reference in New Issue