kirkwood: clean up redundant variables in the image building code
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
cfd1ef4b90
commit
5d4b044955
1 changed files with 9 additions and 15 deletions
|
@ -23,18 +23,20 @@ define Device/Default
|
||||||
KERNEL_NAME := zImage
|
KERNEL_NAME := zImage
|
||||||
KERNEL_SUFFIX := -uImage
|
KERNEL_SUFFIX := -uImage
|
||||||
KERNEL_INSTALL := 1
|
KERNEL_INSTALL := 1
|
||||||
|
|
||||||
|
PAGESIZE := 2048
|
||||||
|
SUBPAGESIZE := 512
|
||||||
|
BLOCKSIZE := 128KiB
|
||||||
|
IMAGES := sysupgrade.tar
|
||||||
|
IMAGE/sysupgrade.tar := sysupgrade-nand
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Device/dockstar
|
define Device/dockstar
|
||||||
DEVICE_DTS := kirkwood-dockstar
|
DEVICE_DTS := kirkwood-dockstar
|
||||||
PAGESIZE := 2048
|
|
||||||
SUBPAGESIZE := 512
|
|
||||||
BLOCKSIZE := 128KiB
|
|
||||||
FILESYSTEMS := squashfs
|
FILESYSTEMS := squashfs
|
||||||
PROFILES := Generic DOCKSTAR
|
PROFILES := Generic DOCKSTAR
|
||||||
IMAGES := factory.bin sysupgrade.tar
|
IMAGES += factory.bin
|
||||||
IMAGE/factory.bin := append-ubi
|
IMAGE/factory.bin := append-ubi
|
||||||
IMAGE/sysupgrade.tar := sysupgrade-nand
|
|
||||||
KERNEL_IN_UBI := 1
|
KERNEL_IN_UBI := 1
|
||||||
KERNEL := kernel-bin | append-dtb
|
KERNEL := kernel-bin | append-dtb
|
||||||
endef
|
endef
|
||||||
|
@ -53,28 +55,20 @@ endef
|
||||||
|
|
||||||
define Device/linksys-audi
|
define Device/linksys-audi
|
||||||
DEVICE_DTS := kirkwood-linksys-audi
|
DEVICE_DTS := kirkwood-linksys-audi
|
||||||
PAGESIZE := 512
|
|
||||||
SUBPAGESIZE := 256
|
|
||||||
BLOCKSIZE := 16KiB
|
|
||||||
KERNEL_SIZE := 2624k
|
KERNEL_SIZE := 2624k
|
||||||
FILESYSTEMS := squashfs
|
FILESYSTEMS := squashfs
|
||||||
PROFILES := Generic AUDI
|
PROFILES := Generic AUDI
|
||||||
IMAGES := factory.bin sysupgrade.tar
|
IMAGES += factory.bin
|
||||||
IMAGE/factory.bin := append-kernel $$$$(KERNEL_SIZE) | append-ubi
|
IMAGE/factory.bin := append-kernel $$$$(KERNEL_SIZE) | append-ubi
|
||||||
IMAGE/sysupgrade.tar := sysupgrade-nand
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Device/linksys-viper
|
define Device/linksys-viper
|
||||||
DEVICE_DTS := kirkwood-linksys-viper
|
DEVICE_DTS := kirkwood-linksys-viper
|
||||||
PAGESIZE := 2048
|
|
||||||
SUBPAGESIZE := 512
|
|
||||||
BLOCKSIZE := 128KiB
|
|
||||||
KERNEL_SIZE := 2688k
|
KERNEL_SIZE := 2688k
|
||||||
FILESYSTEMS := squashfs
|
FILESYSTEMS := squashfs
|
||||||
PROFILES := Generic VIPER
|
PROFILES := Generic VIPER
|
||||||
IMAGES := factory.bin sysupgrade.tar
|
IMAGES += factory.bin
|
||||||
IMAGE/factory.bin := append-kernel $$$$(KERNEL_SIZE) | append-ubi
|
IMAGE/factory.bin := append-kernel $$$$(KERNEL_SIZE) | append-ubi
|
||||||
IMAGE/sysupgrade.tar := sysupgrade-nand
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/BuildKernel/Template
|
define Image/BuildKernel/Template
|
||||||
|
|
Loading…
Reference in a new issue