ramips: do not attempt to build ubnt-erx initramfs image if initramfs support is...
authorFelix Fietkau <nbd@openwrt.org>
Wed, 6 Jan 2016 18:38:44 +0000 (18:38 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 6 Jan 2016 18:38:44 +0000 (18:38 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48144

target/linux/ramips/image/Makefile

index 6d4dd64730059d498fce716bb9140a08d611cbd0..e4cbdb6e4f4b0a83dd46c467e60f2976d1f46ad0 100644 (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 | \