|
|
@ -40,6 +40,8 @@ define Device/Default |
|
|
|
KERNEL_DEPENDS = $$(wildcard $(DTS_DIR)/$$(DEVICE_DTS).dts)
|
|
|
|
KERNEL_DEPENDS = $$(wildcard $(DTS_DIR)/$$(DEVICE_DTS).dts)
|
|
|
|
KERNEL_INITRAMFS_PREFIX := $$(IMG_PREFIX)-$(1)-initramfs
|
|
|
|
KERNEL_INITRAMFS_PREFIX := $$(IMG_PREFIX)-$(1)-initramfs
|
|
|
|
KERNEL_PREFIX := $$(IMAGE_PREFIX)
|
|
|
|
KERNEL_PREFIX := $$(IMAGE_PREFIX)
|
|
|
|
|
|
|
|
SUPPORTED_DEVICES = $$(BOARD_NAME)
|
|
|
|
|
|
|
|
IMAGE/sysupgrade.tar = sysupgrade-tar | append-metadata
|
|
|
|
endef |
|
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
define Device/LegacyImage |
|
|
|
define Device/LegacyImage |
|
|
@ -58,7 +60,7 @@ define Device/UbiFit |
|
|
|
KERNEL_IN_UBI := 1
|
|
|
|
KERNEL_IN_UBI := 1
|
|
|
|
IMAGES := nand-factory.ubi nand-sysupgrade.tar
|
|
|
|
IMAGES := nand-factory.ubi nand-sysupgrade.tar
|
|
|
|
IMAGE/nand-factory.ubi := append-ubi
|
|
|
|
IMAGE/nand-factory.ubi := append-ubi
|
|
|
|
IMAGE/nand-sysupgrade.tar := sysupgrade-tar
|
|
|
|
IMAGE/nand-sysupgrade.tar := sysupgrade-tar | append-metadata
|
|
|
|
endef |
|
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
define Device/DniImage |
|
|
|
define Device/DniImage |
|
|
@ -73,7 +75,6 @@ define Device/DniImage |
|
|
|
UBINIZE_OPTS := -E 5
|
|
|
|
UBINIZE_OPTS := -E 5
|
|
|
|
IMAGES := factory.img sysupgrade.tar
|
|
|
|
IMAGES := factory.img sysupgrade.tar
|
|
|
|
IMAGE/factory.img := append-kernel | append-ubi | netgear-dni
|
|
|
|
IMAGE/factory.img := append-kernel | append-ubi | netgear-dni
|
|
|
|
IMAGE/sysupgrade.tar = sysupgrade-tar
|
|
|
|
|
|
|
|
endef |
|
|
|
endef |
|
|
|
DEVICE_VARS += NETGEAR_BOARD_ID NETGEAR_HW_ID
|
|
|
|
DEVICE_VARS += NETGEAR_BOARD_ID NETGEAR_HW_ID
|
|
|
|
|
|
|
|
|
|
|
@ -86,7 +87,7 @@ define Device/TpSafeImage |
|
|
|
TPLINK_BOARD_NAME :=
|
|
|
|
TPLINK_BOARD_NAME :=
|
|
|
|
IMAGES := factory.bin sysupgrade.bin
|
|
|
|
IMAGES := factory.bin sysupgrade.bin
|
|
|
|
IMAGE/factory.bin := append-rootfs | tplink-safeloader factory
|
|
|
|
IMAGE/factory.bin := append-rootfs | tplink-safeloader factory
|
|
|
|
IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade
|
|
|
|
IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade | append-metadata
|
|
|
|
endef |
|
|
|
endef |
|
|
|
DEVICE_VARS += TPLINK_BOARD_NAME
|
|
|
|
DEVICE_VARS += TPLINK_BOARD_NAME
|
|
|
|
|
|
|
|
|
|
|
@ -97,8 +98,7 @@ define Device/ZyXELImage |
|
|
|
KERNEL = kernel-bin | append-dtb | uImage none | pad-to $${KERNEL_SIZE}
|
|
|
|
KERNEL = kernel-bin | append-dtb | uImage none | pad-to $${KERNEL_SIZE}
|
|
|
|
KERNEL_NAME := zImage
|
|
|
|
KERNEL_NAME := zImage
|
|
|
|
IMAGES := sysupgrade.tar mmcblk0p5-rootfs.bin mmcblk0p4-kernel.bin
|
|
|
|
IMAGES := sysupgrade.tar mmcblk0p5-rootfs.bin mmcblk0p4-kernel.bin
|
|
|
|
IMAGE/sysupgrade.tar/squashfs := append-rootfs | pad-to $$$${BLOCKSIZE} | sysupgrade-tar rootfs=$$$$@
|
|
|
|
IMAGE/sysupgrade.tar/squashfs := append-rootfs | pad-to $$$${BLOCKSIZE} | sysupgrade-tar rootfs=$$$$@ | append-metadata
|
|
|
|
IMAGE/sysupgrade.tar := sysupgrade-tar
|
|
|
|
|
|
|
|
IMAGE/mmcblk0p5-rootfs.bin := append-rootfs | pad-rootfs | pad-to $$$${BLOCKSIZE}
|
|
|
|
IMAGE/mmcblk0p5-rootfs.bin := append-rootfs | pad-rootfs | pad-to $$$${BLOCKSIZE}
|
|
|
|
IMAGE/mmcblk0p4-kernel.bin := append-kernel
|
|
|
|
IMAGE/mmcblk0p4-kernel.bin := append-kernel
|
|
|
|
endef |
|
|
|
endef |
|
|
@ -171,7 +171,6 @@ define Device/EA8500 |
|
|
|
UBINIZE_OPTS := -E 5
|
|
|
|
UBINIZE_OPTS := -E 5
|
|
|
|
IMAGES := factory.bin sysupgrade.tar
|
|
|
|
IMAGES := factory.bin sysupgrade.tar
|
|
|
|
IMAGE/factory.bin := append-kernel | pad-to $$$${KERNEL_SIZE} | append-ubi
|
|
|
|
IMAGE/factory.bin := append-kernel | pad-to $$$${KERNEL_SIZE} | append-ubi
|
|
|
|
IMAGE/sysupgrade.tar := sysupgrade-tar
|
|
|
|
|
|
|
|
DEVICE_TITLE := Linksys EA8500
|
|
|
|
DEVICE_TITLE := Linksys EA8500
|
|
|
|
DEVICE_PACKAGES := ath10k-firmware-qca99x0
|
|
|
|
DEVICE_PACKAGES := ath10k-firmware-qca99x0
|
|
|
|
endef |
|
|
|
endef |
|
|
|