Skip to content

Commit 4e83d5e

Browse files
committed
ramips: make Genexis EX400 factory image dependent on initramfs
The factory image generation for the Genexis EX400 image currently fails if CONFIG_TARGET_ROOTFS_INITRAMFS is disabled. Create the factory image only if said config option is enabled to avoid failing builds. Signed-off-by: David Bauer <mail@david-bauer.net>
1 parent 7f9c88b commit 4e83d5e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

target/linux/ramips/image/mt7621.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1403,9 +1403,11 @@ define Device/genexis_pulse-ex400/common
14031403
--log-lebs=2 --space-fixup --squash-uids
14041404
KERNEL := kernel-bin | lzma | uImage lzma
14051405
KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | uImage lzma
1406+
ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
14061407
IMAGES += factory.bin
14071408
IMAGE/factory.bin := append-image-stage initramfs-kernel.bin | \
14081409
inteno-bootfs | inteno-y3-header EX400 | append-md5sum-ascii-salted
1410+
endif
14091411
IMAGE/sysupgrade.bin := append-kernel | inteno-bootfs | \
14101412
sysupgrade-tar kernel=$$$$@ | check-size | append-metadata
14111413
DEVICE_IMG_NAME = $$(DEVICE_IMG_PREFIX)-$$(2)

0 commit comments

Comments
 (0)