aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/image
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-06 18:38:44 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-06 18:38:44 +0000
commit39d7ab10b45f0b8d1f6e20f6e38991455517b63e (patch)
tree78750ef11b179d61818d67676e4827baef1bdefd /target/linux/ramips/image
parentd5734acf5b760f4758f55a812c8617a6b98606a2 (diff)
downloadmaster-187ad058-39d7ab10b45f0b8d1f6e20f6e38991455517b63e.tar.gz
master-187ad058-39d7ab10b45f0b8d1f6e20f6e38991455517b63e.tar.bz2
master-187ad058-39d7ab10b45f0b8d1f6e20f6e38991455517b63e.zip
ramips: do not attempt to build ubnt-erx initramfs image if initramfs support is disabled
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48144 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/image')
-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 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 | \