mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-12 18:28:19 +01:00
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 b3d2008f92)
This commit is contained in:
parent
620721f642
commit
3d0a78add2
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue