ramips: do not attempt to build ubnt-erx initramfs image if initramfs support is disabled

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48144
This commit is contained in:
Felix Fietkau 2016-01-06 18:38:44 +00:00
parent 9c949b0dca
commit 947eac1803

View file

@ -1073,7 +1073,7 @@ define Device/ubnt-erx
FILESYSTEMS := squashfs
KERNEL_SIZE := 3145728
KERNEL := $(KERNEL_DTB) | uImage lzma
IMAGES := sysupgrade.tar factory-initramfs.tar
IMAGES := sysupgrade.tar $(if $(CONFIG_TARGET_ROOTFS_INITRAMFS),factory-initramfs.tar)
IMAGE/factory-initramfs.tar := ubnt-erx-factory-compat | \
ubnt-erx-factory-kernel | \
ubnt-erx-factory-rootfs | \