mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:52:39 +02:00
Currently edgerouter machine uses sdimage-bootpart.wks from scripts/lib/wic/canned-wks. It'd be easier to find this file if it's name contains machine name and it's located in the same layer. Added edgerouter.wks to meta-yocto-bsp/wic/ to make it independent from changes in oe-core and easier to maintain. [YOCTO #8719] (From meta-yocto rev: 6313c8fffe0dd4c3670ed06eca4c0a815d931e4a) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
27 lines
697 B
Plaintext
27 lines
697 B
Plaintext
#@TYPE: Machine
|
|
#@NAME: Edgerouter
|
|
#@DESCRIPTION: Edgerouter
|
|
|
|
require conf/machine/include/tune-mips64.inc
|
|
|
|
MACHINE_FEATURES = "pci ext2 ext3 serial"
|
|
|
|
KERNEL_IMAGETYPE = "vmlinux"
|
|
KERNEL_ALT_IMAGETYPE = "vmlinux.bin"
|
|
KERNEL_IMAGE_STRIP_EXTRA_SECTIONS = ".comment"
|
|
|
|
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
|
|
PREFERRED_VERSION_linux-yocto ?= "4.8%"
|
|
|
|
SERIAL_CONSOLE = "115200 ttyS0"
|
|
USE_VT ?= "0"
|
|
|
|
MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
|
|
|
|
IMAGE_FSTYPES ?= "jffs2 tar.bz2 wic wic.bmap"
|
|
JFFS2_ERASEBLOCK = "0x10000"
|
|
|
|
WKS_FILE ?= "edgerouter.wks"
|
|
IMAGE_BOOT_FILES ?= "vmlinux;vmlinux.64"
|
|
do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
|