From 0efdefba34c485168e4d94336912df17251ef6cc Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 5 Feb 2015 16:46:45 +0100 Subject: [PATCH] sysmocom-idu: Introduce another machine that optimizes for core2 Harald wants to benefit from i686, sse2 and other optimizations. Create a new machine (that extends the sysmocom-bsc) to build for core2. --- conf/machine/sysmocom-idu.conf | 39 ++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 conf/machine/sysmocom-idu.conf diff --git a/conf/machine/sysmocom-idu.conf b/conf/machine/sysmocom-idu.conf new file mode 100644 index 0000000..9b650ce --- /dev/null +++ b/conf/machine/sysmocom-idu.conf @@ -0,0 +1,39 @@ +#@TYPE: Machine +#@NAME: common_pc +#@DESCRIPTION: Machine configuration for running a common x86 + +require conf/machine/include/tune-core2.inc +require conf/machine/include/genericx86-common.inc + + +PREFERRED_PROVIDER_virtual/libgl = "mesa-dri" +PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim" +PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xf86-dri-lite" +PREFERRED_PROVIDER_virtual/xserver-xf86 ?= "xserver-xf86-dri-lite" +PREFERRED_PROVIDER_virtual/kernel = "${@['linux-sysmocom', 'linux']['1.1' in d.getVar('DISTRO_VERSION', True)]}" + +MACHINE_FEATURES += "kernel26 x86 usbhost pci acpi" + +KERNEL_IMAGETYPE = "bzImage" + +IMAGE_FSTYPES ?= "tar.gz ext4" + +SERIAL_CONSOLE = "38400 ttyS0" +MACHINE_CONSOLE = "console=ttyS0,38400n8" + +# We bypass swrast but we need it to be present for X to load correctly +XSERVER ?= "xserver-xf86-dri-lite \ + mesa-dri-driver-swrast \ + xf86-input-vmmouse \ + xf86-input-keyboard \ + xf86-input-evdev \ + xf86-video-vmware" + +GLIBC_ADDONS = "nptl" +GLIBC_EXTRA_OECONF = "--with-tls" + +#MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "v86d" +MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "\ + busybox-ifplugd linux-firmware-rtl-nic " + +MACHINEOVERRIDES = "${MACHINE}:sysmocom-bsc"