Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | #@TYPE: Machine |
| 2 | #@NAME: Edgerouter |
| 3 | #@DESCRIPTION: Edgerouter |
| 4 | |
| 5 | require conf/machine/include/tune-mips64.inc |
| 6 | |
| 7 | MACHINE_FEATURES = "pci ext2 ext3 serial" |
| 8 | |
| 9 | KERNEL_IMAGETYPE = "vmlinux" |
| 10 | KERNEL_ALT_IMAGETYPE = "vmlinux.bin" |
| 11 | KERNEL_IMAGE_STRIP_EXTRA_SECTIONS = ".comment" |
| 12 | |
| 13 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 14 | PREFERRED_VERSION_linux-yocto ?= "4.8%" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 15 | |
| 16 | SERIAL_CONSOLE = "115200 ttyS0" |
| 17 | USE_VT ?= "0" |
| 18 | |
| 19 | MACHINE_EXTRA_RRECOMMENDS = " kernel-modules" |
| 20 | |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 21 | IMAGE_FSTYPES ?= "jffs2 tar.bz2 wic" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 22 | JFFS2_ERASEBLOCK = "0x10000" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 23 | |
| 24 | WKS_FILE ?= "sdimage-bootpart.wks" |
| 25 | IMAGE_BOOT_FILES ?= "vmlinux;vmlinux.64" |
| 26 | do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot" |