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.
This commit is contained in:
parent
dbe4d9513a
commit
0efdefba34
|
@ -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"
|
Loading…
Reference in New Issue