From 88d925a8991e3e35b17f225a761b7c286b57bcf6 Mon Sep 17 00:00:00 2001 From: Darren Hart Date: Tue, 21 Jan 2014 21:12:12 +0000 Subject: [PATCH] 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. 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 Cc: Ross Burton Signed-off-by: Richard Purdie --- meta-yocto-bsp/conf/machine/genericx86-64.conf | 4 ++-- meta-yocto-bsp/conf/machine/genericx86.conf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/meta-yocto-bsp/conf/machine/genericx86-64.conf b/meta-yocto-bsp/conf/machine/genericx86-64.conf index a6154cdfae1..f76e35af675 100644 --- a/meta-yocto-bsp/conf/machine/genericx86-64.conf +++ b/meta-yocto-bsp/conf/machine/genericx86-64.conf @@ -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 diff --git a/meta-yocto-bsp/conf/machine/genericx86.conf b/meta-yocto-bsp/conf/machine/genericx86.conf index 549fc8eabd9..2642caba547 100644 --- a/meta-yocto-bsp/conf/machine/genericx86.conf +++ b/meta-yocto-bsp/conf/machine/genericx86.conf @@ -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 -- 2.47.3