ramips: improve Linksys EA8500 build code

Use of the kernel size variable.

Signed-off-by: Mathias Kresin <dev@kresin.me>
master
Mathias Kresin 8 years ago
parent 306f1c7846
commit c7d5bc8197
  1. 4
      target/linux/ipq806x/image/Makefile

@ -150,13 +150,13 @@ define Device/EA8500
DEVICE_DTS := qcom-ipq8064-ea8500 DEVICE_DTS := qcom-ipq8064-ea8500
PAGESIZE := 2048 PAGESIZE := 2048
BLOCKSIZE := 128k BLOCKSIZE := 128k
KERNEL_SIZE := 3145728 KERNEL_SIZE := 3072k
FILESYSTEMS := squashfs FILESYSTEMS := squashfs
KERNEL = kernel-bin | append-dtb | uImage none | append-file $(KDIR)/root.dummy KERNEL = kernel-bin | append-dtb | uImage none | append-file $(KDIR)/root.dummy
PROFILES += $$(DEVICE_NAME) PROFILES += $$(DEVICE_NAME)
BOARD_NAME := ea8500 BOARD_NAME := ea8500
IMAGES := factory.bin sysupgrade.tar IMAGES := factory.bin sysupgrade.tar
IMAGE/factory.bin := append-kernel 3145728 | append-ubi IMAGE/factory.bin := append-kernel | pad-to $$$${KERNEL_SIZE} | append-ubi
IMAGE/sysupgrade.tar := sysupgrade-tar IMAGE/sysupgrade.tar := sysupgrade-tar
DEVICE_TITLE := Linksys EA8500 DEVICE_TITLE := Linksys EA8500
DEVICE_PACKAGES := ath10k-firmware-qca99x0 DEVICE_PACKAGES := ath10k-firmware-qca99x0

Loading…
Cancel
Save