[openwrt/openwrt] ramips: make Genexis EX400 factory image dependent on initramfs
LEDE Commits
lede-commits at lists.infradead.org
Thu May 1 05:58:27 PDT 2025
blocktrron pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/4e83d5ec26e297380906313283b2eeaef2a5f5fe
commit 4e83d5ec26e297380906313283b2eeaef2a5f5fe
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Tue Apr 29 19:31:09 2025 +0200
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 at david-bauer.net>
---
target/linux/ramips/image/mt7621.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index bd0b6f0e11..69c91dd69c 100755
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -1403,9 +1403,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)
More information about the lede-commits
mailing list