mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2025-07-19 21:09:03 +02:00
n450: decouple from meta-yocto atom-pc machine config
Fixes [YOCTO 1353] The meta-yocto atom-pc is a more generic BSP than is needed for the Intel n450. Decouple the n450.conf from the meta-yocto atom-pc.conf. Add a linux-yocto_3.0.bbappend recipe. In the process: o remove MACHINE_FEATURES wifi and add serial o specify linux-yocto version 3.0 o specify linux-libc-headers-yocto Signed-off-by: Darren Hart <dvhart@linux.intel.com>
This commit is contained in:
parent
fa92a44396
commit
5c41b9b6a2
|
@ -3,13 +3,37 @@
|
||||||
|
|
||||||
#@DESCRIPTION: Machine configuration for Intel 1-N450 based systems
|
#@DESCRIPTION: Machine configuration for Intel 1-N450 based systems
|
||||||
|
|
||||||
require conf/machine/atom-pc.conf
|
include conf/machine/include/tune-atom.inc
|
||||||
|
|
||||||
|
MACHINE_FEATURES = "kernel26 screen keyboard pci usbhost ext2 ext3 x86 \
|
||||||
|
acpi serial"
|
||||||
|
|
||||||
|
KERNEL_IMAGETYPE = "bzImage"
|
||||||
|
|
||||||
|
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
|
||||||
|
PREFERRED_VERSION_linux-yocto = "3.0+git%"
|
||||||
|
PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto"
|
||||||
|
PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim"
|
||||||
|
PREFERRED_PROVIDER_virtual/libgl ?= "mesa-dri"
|
||||||
|
PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xf86-dri-lite"
|
||||||
|
PREFERRED_PROVIDER_virtual/xserver-xf86 ?= "xserver-xf86-dri-lite"
|
||||||
|
XSERVER ?= "xserver-xf86-dri-lite \
|
||||||
|
xf86-input-mouse \
|
||||||
|
xf86-input-keyboard \
|
||||||
|
xf86-input-evdev \
|
||||||
|
xf86-input-synaptics \
|
||||||
|
xf86-video-intel \
|
||||||
|
mesa-dri-driver-i915"
|
||||||
|
|
||||||
SYSLINUX_OPTS = "serial 0 115200"
|
SYSLINUX_OPTS = "serial 0 115200"
|
||||||
SERIAL_CONSOLE = "115200 ttyS0"
|
SERIAL_CONSOLE = "115200 ttyS0"
|
||||||
APPEND += "console=ttyS0,115200 console=tty0"
|
APPEND += "console=ttyS0,115200 console=tty0"
|
||||||
|
|
||||||
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
|
MACHINE_EXTRA_RRECOMMENDS = "kernel-modules eee-acpi-scripts n450-audio"
|
||||||
|
|
||||||
# Ensure the bsp packages are installed
|
IMAGE_FSTYPES ?= "ext3 cpio.gz live"
|
||||||
MACHINE_EXTRA_RRECOMMENDS += " n450-audio "
|
|
||||||
|
GLIBC_ADDONS = "nptl"
|
||||||
|
GLIBC_EXTRA_OECONF = "--with-tls"
|
||||||
|
|
||||||
|
ROOTLESS_X = "1"
|
||||||
|
|
9
meta-n450/recipes-kernel/linux/linux-yocto_3.0.bbappend
Normal file
9
meta-n450/recipes-kernel/linux/linux-yocto_3.0.bbappend
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||||
|
COMPATIBLE_MACHINE_n450 = "n450"
|
||||||
|
KMACHINE_n450 = "yocto/standard/common-pc/atom-pc"
|
||||||
|
|
||||||
|
# The n450 is a single core hypterthreaded CPU
|
||||||
|
KERNEL_FEATURES_append_n450 += " cfg/smp.scc"
|
||||||
|
|
||||||
|
SRCREV_machine_pn-linux-yocto_n450 = "c54453332efbd86c2ea3caa64e908b39cfac1e76"
|
||||||
|
#SRCREV_meta_pn-linux-yocto_n450 ?= XXXX
|
Loading…
Reference in New Issue
Block a user