aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorFlorian Maurer <f.maurer@outlook.de>2023-10-26 08:40:59 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2023-10-31 00:44:03 +0100
commit3d0a78add22754aa891529b6702b5e4c7b837446 (patch)
treef36bbba2dc93d5497fb587dfbb2f7f00b40ee6d1 /target
parent620721f642102818e06035720afe8adec9b8836e (diff)
downloadupstream-3d0a78add22754aa891529b6702b5e4c7b837446.tar.gz
upstream-3d0a78add22754aa891529b6702b5e4c7b837446.tar.bz2
upstream-3d0a78add22754aa891529b6702b5e4c7b837446.zip
qualcommax: only build initramfs if CONFIG_TARGET_ROOTFS_INITRAMFS is set
This makes it possible to build the ipq807x netgear-wax218 without initramfs - which is required for downstream projects (gluon) Signed-off-by: Florian Maurer <f.maurer@outlook.de> (cherry picked from commit b3d2008f92f15ff776ad6c4f6d113b0cda1bd2d0)
Diffstat (limited to 'target')
-rw-r--r--target/linux/ipq807x/image/generic.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/ipq807x/image/generic.mk b/target/linux/ipq807x/image/generic.mk
index 124cdfc3b2..fb991156d5 100644
--- a/target/linux/ipq807x/image/generic.mk
+++ b/target/linux/ipq807x/image/generic.mk
@@ -80,15 +80,17 @@ TARGET_DEVICES += edimax_cax1800
define Device/netgear_wax218
$(call Device/FitImage)
$(call Device/UbiFit)
- ARTIFACTS := web-ui-factory.fit
DEVICE_VENDOR := Netgear
DEVICE_MODEL := WAX218
DEVICE_DTS_CONFIG := config@hk07
BLOCKSIZE := 128k
PAGESIZE := 2048
SOC := ipq8072
+ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
+ ARTIFACTS := web-ui-factory.fit
ARTIFACT/web-ui-factory.fit := append-image initramfs-uImage.itb | \
ubinize-kernel | qsdk-ipq-factory-nand
+endif
DEVICE_PACKAGES := kmod-spi-gpio kmod-spi-bitbang kmod-gpio-nxp-74hc164 \
ipq-wifi-netgear_wax218
endef