aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2016-09-11 17:46:09 +0200
committerMathias Kresin <dev@kresin.me>2016-09-11 19:40:45 +0200
commitc7d5bc8197609a62f03f3f6b3d665ae73bd1072b (patch)
treeacfaca7bb86eaffd2d785ba41c33f7611d9a9bef /target/linux
parent306f1c7846e3768dff51396c9dadce3956d5778f (diff)
downloadupstream-c7d5bc8197609a62f03f3f6b3d665ae73bd1072b.tar.gz
upstream-c7d5bc8197609a62f03f3f6b3d665ae73bd1072b.tar.bz2
upstream-c7d5bc8197609a62f03f3f6b3d665ae73bd1072b.zip
ramips: improve Linksys EA8500 build code
Use of the kernel size variable. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ipq806x/image/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ipq806x/image/Makefile b/target/linux/ipq806x/image/Makefile
index ff5be05d0d..daf910e74e 100644
--- a/target/linux/ipq806x/image/Makefile
+++ b/target/linux/ipq806x/image/Makefile
@@ -150,13 +150,13 @@ define Device/EA8500
DEVICE_DTS := qcom-ipq8064-ea8500
PAGESIZE := 2048
BLOCKSIZE := 128k
- KERNEL_SIZE := 3145728
+ KERNEL_SIZE := 3072k
FILESYSTEMS := squashfs
KERNEL = kernel-bin | append-dtb | uImage none | append-file $(KDIR)/root.dummy
PROFILES += $$(DEVICE_NAME)
BOARD_NAME := ea8500
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
DEVICE_TITLE := Linksys EA8500
DEVICE_PACKAGES := ath10k-firmware-qca99x0