[OE-core] [PATCH 1/1] ia32-base.inc: new include file

Tom Zanussi tom.zanussi at intel.com
Fri Nov 18 20:19:15 UTC 2011


On Fri, 2011-11-18 at 11:17 -0800, Khem Raj wrote:
> On Fri, Nov 18, 2011 at 8:59 AM,  <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 common include file.
> >
> > Also add several new intel-specific XSERVER variables for building
> > XSERVER variables in BSPs.
> >
> 
> I think it belongs to bsp layer why do we need it in oe-core ?
> 

Awhile back I submitted a similar patchset that kept things in
meta-intel.  Richard suggested I use conf/machine/include/:

http://www.mail-archive.com/yocto@yoctoproject.org/msg01629.html

So was I right back then, or is there another place I should be putting
this?

Tom

> > Signed-off-by: Tom Zanussi <tom.zanussi at intel.com>
> > ---
> >  meta/conf/machine/include/ia32-base.inc |   58 +++++++++++++++++++++++++++++++
> >  1 files changed, 58 insertions(+), 0 deletions(-)
> >  create mode 100644 meta/conf/machine/include/ia32-base.inc
> >
> > diff --git a/meta/conf/machine/include/ia32-base.inc b/meta/conf/machine/include/ia32-base.inc
> > new file mode 100644
> > index 0000000..5cf2f4f
> > --- /dev/null
> > +++ b/meta/conf/machine/include/ia32-base.inc
> > @@ -0,0 +1,58 @@
> > +#
> > +# base machine settings for ia32-architecture BSPs
> > +#
> > +
> > +#
> > +# common settings for Intel-based machines
> > +#
> > +MACHINE_FEATURES += "kernel26 screen keyboard pci usbhost ext2 ext3 x86 \
> > +                     acpi serial usbgadget"
> > +
> > +MACHINE_EXTRA_RRECOMMENDS += "kernel-modules eee-acpi-scripts"
> > +MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "grub"
> > +
> > +IMAGE_FSTYPES += "ext3 cpio.gz live"
> > +
> > +KERNEL_IMAGETYPE ?= "bzImage"
> > +
> > +SERIAL_CONSOLE ?= "115200 ttyS0"
> > +
> > +#
> > +# glibc-related variables
> > +#
> > +GLIBC_ADDONS ?= "nptl"
> > +GLIBC_EXTRA_OECONF += "--with-tls"
> > +
> > +#
> > +# kernel-related variables
> > +#
> > +PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
> > +PREFERRED_VERSION_linux-yocto ?= "3.0%"
> > +PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto"
> > +
> > +#
> > +# XSERVER subcomponents, used to build the XSERVER variable
> > +#
> > +XSERVER_IA32_BASE = "xserver-xorg \
> > +           xf86-input-mouse \
> > +           xf86-input-keyboard \
> > +           xf86-input-evdev \
> > +           xf86-input-synaptics \
> > +           mesa-dri \
> > +           "
> > +
> > +XSERVER_IA32_EXT = "xserver-xorg-extension-dri \
> > +           xserver-xorg-extension-dri2 \
> > +           xserver-xorg-extension-glx \
> > +           xserver-xorg-extension-extmod \
> > +           xserver-xorg-extension-dbe \
> > +           xserver-xorg-module-libint10 \
> > +           "
> > +
> > +XSERVER_IA32_I915 = "xf86-video-intel \
> > +           mesa-dri-driver-i965 \
> > +           "
> > +
> > +XSERVER_IA32_EMGD = "emgd-driver-bin"
> > +
> > +XSERVER_IA32_VESA = "xf86-video-vesa"
> > --
> > 1.7.0.4
> >
> >
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core at lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
> >
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core






More information about the Openembedded-core mailing list