Quellcode durchsuchen

ramips: do not attempt to build ubnt-erx initramfs image if initramfs support is disabled

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

SVN-Revision: 48144
Felix Fietkau vor 10 Jahren
Ursprung
Commit
947eac1803
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      target/linux/ramips/image/Makefile

+ 1 - 1
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 | \