Author: nbd
Date: 2016-01-06 19:38:44 +0100 (Wed, 06 Jan 2016)
New Revision: 48144

Modified:
   trunk/target/linux/ramips/image/Makefile
Log:
ramips: do not attempt to build ubnt-erx initramfs image if initramfs support 
is disabled

Signed-off-by: Felix Fietkau <[email protected]>

Modified: trunk/target/linux/ramips/image/Makefile
===================================================================
--- trunk/target/linux/ramips/image/Makefile    2016-01-06 18:37:42 UTC (rev 
48143)
+++ trunk/target/linux/ramips/image/Makefile    2016-01-06 18:38:44 UTC (rev 
48144)
@@ -1073,7 +1073,7 @@
   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 | \
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to