aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/image/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-07-06 10:11:29 +0200
committerFelix Fietkau <nbd@nbd.name>2016-07-06 10:12:37 +0200
commit201dbb9fe8f61572d66f02942c4482af9b4f2f0c (patch)
tree95f7422d381f2bad20fe2239fa585f025536b027 /target/linux/ramips/image/Makefile
parentad430c1080fa2096d02b054115bd806af4906aea (diff)
downloadupstream-201dbb9fe8f61572d66f02942c4482af9b4f2f0c.tar.gz
upstream-201dbb9fe8f61572d66f02942c4482af9b4f2f0c.tar.bz2
upstream-201dbb9fe8f61572d66f02942c4482af9b4f2f0c.zip
ramips: fix build error in ubnt-erx initramfs factory image
Build initramfs kernel image, but skip factory image if initramfs size is too big. Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/ramips/image/Makefile')
-rw-r--r--target/linux/ramips/image/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile
index 52dde6780e..0a92765326 100644
--- a/target/linux/ramips/image/Makefile
+++ b/target/linux/ramips/image/Makefile
@@ -22,7 +22,7 @@ define Image/Build/Initramfs
$(call Image/Build/Profile/$(PROFILE),initramfs)
endef
-DEVICE_VARS += DTS IMAGE_SIZE
+DEVICE_VARS += DTS IMAGE_SIZE KERNEL_SIZE
loadaddr-y := 0x80000000
loadaddr-$(CONFIG_TARGET_ramips_rt288x) := 0x88000000