From: nbd Date: Wed, 6 Jan 2016 18:38:44 +0000 (+0000) Subject: ramips: do not attempt to build ubnt-erx initramfs image if initramfs support is... X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=commitdiff_plain;h=8c026cb093416cd407a0a68f1835a9f9982e4ebc ramips: do not attempt to build ubnt-erx initramfs image if initramfs support is disabled Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48144 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index 6d4dd64730..e4cbdb6e4f 100644 --- a/target/linux/ramips/image/Makefile +++ b/target/linux/ramips/image/Makefile @@ -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 | \