Initial commit
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
This commit is contained in:
25
target/linux/ath79/image/common-mikrotik.mk
Normal file
25
target/linux/ath79/image/common-mikrotik.mk
Normal file
@@ -0,0 +1,25 @@
|
||||
define Device/mikrotik
|
||||
DEVICE_VENDOR := MikroTik
|
||||
LOADER_TYPE := elf
|
||||
KERNEL_NAME := vmlinuz
|
||||
KERNEL := kernel-bin | append-dtb-elf
|
||||
KERNEL_INITRAMFS_NAME := vmlinux-initramfs
|
||||
KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | loader-kernel
|
||||
endef
|
||||
|
||||
define Device/mikrotik_nor
|
||||
$(Device/mikrotik)
|
||||
DEVICE_PACKAGES := -yafut
|
||||
IMAGE/sysupgrade.bin := append-kernel | yaffs-filesystem -M | \
|
||||
pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | \
|
||||
check-size | append-metadata
|
||||
endef
|
||||
|
||||
define Device/mikrotik_nand
|
||||
$(Device/mikrotik)
|
||||
IMAGE/sysupgrade.bin = append-kernel | sysupgrade-tar | append-metadata
|
||||
DEVICE_COMPAT_MESSAGE := \
|
||||
NAND images switched to yafut. If running older image, reinstall from initramfs.
|
||||
DEVICE_COMPAT_VERSION := 1.1
|
||||
|
||||
endef
|
||||
Reference in New Issue
Block a user