mirror of
https://git.yoctoproject.org/poky
synced 2026-04-28 06:32:34 +02:00
There is currently consideradble confusion over how the tune files operate and how these interact with the rest of the build system. This update/overhaul changes things so the tune files are primarily resonsible for setting: TUNE_ARCH - What was formerly set as TARGET_ARCH and is the value that represents the architecture we're targetting. TUNE_PKGARCH - The value that represents the tune confuration that this set of tune parameters results in. This allows the significant improvement that the core can now always determine the target architecture value, even when TARGET_ARCH needs to be reset to something different and likewise, there is one package architecture variable the core can reference allowing simplification of the BASE_PACKAGE_ARCH, PACKAGE_ARCH and FEED_ARCH variables. (From OE-Core rev: a10de4cf8b424ee95c8e283e75d486be5b3b8eac) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
33 lines
888 B
Plaintext
33 lines
888 B
Plaintext
#@TYPE: Machine
|
|
#@NAME: common_pc
|
|
#@DESCRIPTION: Machine configuration for running a common x86
|
|
|
|
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"
|
|
|
|
require conf/machine/include/tune-i586.inc
|
|
require conf/machine/include/qemu.inc
|
|
|
|
MACHINE_FEATURES += "x86"
|
|
|
|
KERNEL_IMAGETYPE = "bzImage"
|
|
|
|
SERIAL_CONSOLE = "115200 ttyS0"
|
|
|
|
# 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 \
|
|
qemugl"
|
|
|
|
GLIBC_ADDONS = "nptl"
|
|
GLIBC_EXTRA_OECONF = "--with-tls"
|
|
|
|
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "v86d"
|
|
|