Skip to contentSkip to conversation

add ia32-base.inc

PATCH In review [email protected] 3 participants 5 messages Nov 18, 2011 – Nov 19, 2011

lore
Share & tools
lore
#0 lore raw

cover add ia32-base.inc

From: Tom Zanussi <[email protected]>

This patchset adds a 'base config' .inc for settings that most of the meta-intel BSPs use and moves them int conf/machine/include for easy access and reuse by those BSPs that can use them.

The following changes since commit 6aa658495b028cd1301b9892fdc19a1b67ff06ca:
Kang Kai (1):
mesa: fix calling host's commands

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib.git tzanussi/conf-cleanup-v0
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/conf-cleanup-v0

Tom Zanussi (1):
ia32-base.inc: new include file

 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
#1 lore raw

PATCH 1/1 ia32-base.inc: new include file

From: Tom Zanussi <[email protected]>

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.

---
 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
meta/conf/machine/include/ia32-base.inc new file +58 -0
new file mode 100644
index 0000000..5cf2f4f
@@ -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"
Signature · 1 line
1.7.0.4
#2 lore raw

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

Quoted 8 lines · On Fri, Nov 18, 2011 at 8:59 AM, <[email protected]> wrote:

From: Tom Zanussi <[email protected]>

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 ?

Quoted 79 lines

---
 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

meta/conf/machine/include/ia32-base.inc new file +58 -1
new file mode 100644
index 0000000..5cf2f4f
@@ -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
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#3 lore raw

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

Quoted 12 lines · Khem Raj
Quoted 8 lines · On Fri, Nov 18, 2011 at 8:59 AM, <[email protected]> wrote:

From: Tom Zanussi <[email protected]>

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/[email protected]/msg01629.html

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

Tom

Quoted 84 lines
Quoted 74 lines
---
 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
meta/conf/machine/include/ia32-base.inc new file +58 -1
new file mode 100644
index 0000000..5cf2f4f
@@ -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

Quoted 5 lines

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#4 lore raw

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

On Fri, Nov 18, 2011 at 18:19, Tom Zanussi <[email protected]> wrote:
...

Quoted 2 lines

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

This might be made shared in meta-intel to avoid having this information duplicated between all machines but it doesn't fit oe-core IMO.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br