diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-06 18:38:44 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-06 18:38:44 +0000 |
commit | 947eac1803d631224a9fa6378df3d3409e33be58 (patch) | |
tree | e437e58c721e5d67175708ac3ad26d94c329c948 /target/linux/ramips/image/Makefile | |
parent | 9c949b0dcab5e3b82d066da0041deae2ef2e4d8c (diff) | |
download | upstream-947eac1803d631224a9fa6378df3d3409e33be58.tar.gz upstream-947eac1803d631224a9fa6378df3d3409e33be58.tar.bz2 upstream-947eac1803d631224a9fa6378df3d3409e33be58.zip |
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
Diffstat (limited to 'target/linux/ramips/image/Makefile')
-rw-r--r-- | target/linux/ramips/image/Makefile | 2 |
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 | \ |