mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
0656bee36b
Remove the wget2nand script, drop the need for manual installation, use sysupgrade instead. There are now two different NAND images, one for 64 MiB flashes, the other for >= 128 MiB Signed-off-by: Felix Fietkau <nbd@nbd.name>
23 lines
525 B
Makefile
23 lines
525 B
Makefile
define Device/mikrotik
|
|
PROFILES := Default
|
|
BOARD_NAME := routerboard
|
|
KERNEL_INITRAMFS :=
|
|
KERNEL_NAME := loader-generic.elf
|
|
KERNEL := kernel-bin | kernel2minor -s 2048 -e -c
|
|
FILESYSTEMS := squashfs
|
|
IMAGES := sysupgrade.bin
|
|
IMAGE/sysupgrade.bin := sysupgrade-tar
|
|
endef
|
|
|
|
define Device/nand-64m
|
|
$(Device/mikrotik)
|
|
KERNEL := kernel-bin | kernel2minor -s 512 -e -c
|
|
endef
|
|
|
|
define Device/nand-large
|
|
$(Device/mikrotik)
|
|
KERNEL := kernel-bin | kernel2minor -s 2048 -e -c
|
|
endef
|
|
|
|
TARGET_DEVICES += nand-64m nand-large
|