diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2024-07-08 13:21:13 +0200 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2024-07-08 13:23:26 +0200 |
commit | 2bae9d04af2f4722fc0156632169fe2ab75fccf0 (patch) | |
tree | 3b21025bcc9ddab2354699a588eda9cb1c4c185f /target/linux | |
parent | cc6a0abcabf718df872c0f6876d1121d3dd09953 (diff) | |
download | openwrt-2bae9d04af2f4722fc0156632169fe2ab75fccf0.tar.gz openwrt-2bae9d04af2f4722fc0156632169fe2ab75fccf0.tar.bz2 openwrt-2bae9d04af2f4722fc0156632169fe2ab75fccf0.zip |
qualcommax: ipq807x: fix build error with no initramfs for RAX120v2
Exclude additional initramfs image for Netgear RAX120v2 when no
initramfs image are compiled to fix build error.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/qualcommax/image/ipq807x.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/qualcommax/image/ipq807x.mk b/target/linux/qualcommax/image/ipq807x.mk index d75cf3dd3c..e2a6da569c 100644 --- a/target/linux/qualcommax/image/ipq807x.mk +++ b/target/linux/qualcommax/image/ipq807x.mk @@ -162,10 +162,12 @@ define Device/netgear_rax120v2 NETGEAR_HW_ID := 29765589+0+512+1024+4x4+8x8 DEVICE_PACKAGES := ipq-wifi-netgear_rax120v2 kmod-spi-gpio \ kmod-spi-bitbang kmod-gpio-nxp-74hc164 kmod-hwmon-g762 +ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),) IMAGES += web-ui-factory.img IMAGE/web-ui-factory.img := append-image initramfs-uImage.itb | \ pad-offset $$$$(BLOCKSIZE) 64 | append-uImage-fakehdr filesystem | \ netgear-dni +endif IMAGE/sysupgrade.bin := append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | \ append-uImage-fakehdr filesystem | sysupgrade-tar kernel=$$$$@ | \ append-metadata |