cubieboard2: added network kernel module as essential dependency

Adding sunxi_emac network driver as recommended *essential* machine dependency, rather than recommended *extra* dependency, to make sure it is included, even if packagegroup-base is not included.

See also https://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-MACHINE_EXTRA_RDEPENDS

Also removed kernel26, as this is deprecated, see http://www.openembedded.org/wiki/Migrating_metadata_to_OE-Core
This commit is contained in:
Kristof Robot 2013-10-31 13:26:08 +01:00
parent 51fe9392f2
commit 31b4184017

View File

@ -1,6 +1,6 @@
#@TYPE: Machine
#@NAME: CubieBoard
#@DESCRIPTION: Machine configuration for the cubieboard, based on allwinner a10 CPU http://cubieboard.org/
#@NAME: CubieBoard2
#@DESCRIPTION: Machine configuration for the cubieboard2, based on allwinner ar210 CPU http://cubieboard.org/
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
XSERVER = "xserver-xorg \
@ -28,11 +28,13 @@ IMAGE_CLASSES += "sdcard_image-a10"
IMAGE_FSTYPES += "ext3 tar.gz a10-sdimg"
# Guesswork
SERIAL_CONSOLE = "115200 ttyS0"
MACHINE_EXTRA_RRECOMMENDS = "\
kernel-module-sw-ahci-platform \
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS = "\
kernel-module-sunxi-emac \
"
MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"
#autoload ethernet module at boot
module_autoload_sunxi_emac = "sunxi_emac"
MACHINE_FEATURES = "screen apm usbgadget usbhost vfat"