[yocto] [PATCH 1/6] meta-intel: add a couple common .inc files

Darren Hart dvhart at linux.intel.com
Fri Jul 15 11:30:53 PDT 2011



On 07/14/2011 05:55 PM, tom.zanussi at intel.com wrote:
> From: Tom Zanussi <tom.zanussi at intel.com>
> 
> The meta-intel BSPs currently have a number of machine settings common
> to all - factor these out into a couple common include files.
> 
> Signed-off-by: Tom Zanussi <tom.zanussi at intel.com>
> ---
>  common/common-bsp-mach.inc |   13 +++++++++++++
>  common/common-bsp-x.inc    |    4 ++++
>  2 files changed, 17 insertions(+), 0 deletions(-)
>  create mode 100644 common/common-bsp-mach.inc
>  create mode 100644 common/common-bsp-x.inc
> 
> diff --git a/common/common-bsp-mach.inc b/common/common-bsp-mach.inc
> new file mode 100644
> index 0000000..b020a84
> --- /dev/null
> +++ b/common/common-bsp-mach.inc
> @@ -0,0 +1,13 @@
> +MACHINE_FEATURES = "kernel26 screen keyboard pci usbhost ext2 ext3 x86 \
> +                    acpi serial usbgadget"
> +
> +KERNEL_IMAGETYPE = "bzImage"
> +
> +SERIAL_CONSOLE = "115200 ttyS0"
> +
> +MACHINE_EXTRA_RRECOMMENDS = "kernel-modules eee-acpi-scripts"
> +

If these are going in common .inc files we need them to be easily
overridden, shouldn't all the above be using the ?= operator?

--
Darren

> +IMAGE_FSTYPES ?= "ext3 cpio.gz"
> +
> +GLIBC_ADDONS = "nptl"
> +GLIBC_EXTRA_OECONF = "--with-tls"
> diff --git a/common/common-bsp-x.inc b/common/common-bsp-x.inc
> new file mode 100644
> index 0000000..c012efd
> --- /dev/null
> +++ b/common/common-bsp-x.inc
> @@ -0,0 +1,4 @@
> +PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim"
> +PREFERRED_PROVIDER_virtual/libgl ?= "mesa-dri"
> +PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xf86-dri-lite"
> +PREFERRED_PROVIDER_virtual/xserver-xf86 ?= "xserver-xf86-dri-lite"

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel



More information about the yocto mailing list