diff options
| author | David Bauer | 2025-04-29 17:31:09 +0000 |
|---|---|---|
| committer | David Bauer | 2025-05-01 12:58:54 +0000 |
| commit | cc1b909a6b2b6524ed973fdad32a6fd92db1d23e (patch) | |
| tree | 2e4546dc2ddbfd2c4b6178a0d69c459c6f55002e | |
| parent | 0b392b925fa16c40dccc487753a4412bd054cd63 (diff) | |
| download | openwrt-cc1b909a6b2b6524ed973fdad32a6fd92db1d23e.tar.gz | |
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>
(cherry picked from commit 4e83d5ec26e297380906313283b2eeaef2a5f5fe)
| -rw-r--r-- | target/linux/ramips/image/mt7621.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk index 7674d0274d..d8641223a3 100644 --- a/target/linux/ramips/image/mt7621.mk +++ b/target/linux/ramips/image/mt7621.mk @@ -1389,9 +1389,11 @@ define Device/genexis_pulse-ex400/common --log-lebs=2 --space-fixup --squash-uids KERNEL := kernel-bin | lzma | uImage lzma KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | uImage lzma +ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),) IMAGES += factory.bin IMAGE/factory.bin := append-image-stage initramfs-kernel.bin | \ inteno-bootfs | inteno-y3-header EX400 | append-md5sum-ascii-salted +endif IMAGE/sysupgrade.bin := append-kernel | inteno-bootfs | \ sysupgrade-tar kernel=$$$$@ | check-size | append-metadata DEVICE_IMG_NAME = $$(DEVICE_IMG_PREFIX)-$$(2) |