mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-31 00:24:12 +00: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>
This commit is contained in:
parent
4b7b3b9777
commit
b3d2008f92
@ -128,15 +128,17 @@ TARGET_DEVICES += netgear_rax120v2
|
|||||||
define Device/netgear_wax218
|
define Device/netgear_wax218
|
||||||
$(call Device/FitImage)
|
$(call Device/FitImage)
|
||||||
$(call Device/UbiFit)
|
$(call Device/UbiFit)
|
||||||
ARTIFACTS := web-ui-factory.fit
|
|
||||||
DEVICE_VENDOR := Netgear
|
DEVICE_VENDOR := Netgear
|
||||||
DEVICE_MODEL := WAX218
|
DEVICE_MODEL := WAX218
|
||||||
DEVICE_DTS_CONFIG := config@hk07
|
DEVICE_DTS_CONFIG := config@hk07
|
||||||
BLOCKSIZE := 128k
|
BLOCKSIZE := 128k
|
||||||
PAGESIZE := 2048
|
PAGESIZE := 2048
|
||||||
SOC := ipq8072
|
SOC := ipq8072
|
||||||
|
ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
|
||||||
|
ARTIFACTS := web-ui-factory.fit
|
||||||
ARTIFACT/web-ui-factory.fit := append-image initramfs-uImage.itb | \
|
ARTIFACT/web-ui-factory.fit := append-image initramfs-uImage.itb | \
|
||||||
ubinize-kernel | qsdk-ipq-factory-nand
|
ubinize-kernel | qsdk-ipq-factory-nand
|
||||||
|
endif
|
||||||
DEVICE_PACKAGES := kmod-spi-gpio kmod-spi-bitbang kmod-gpio-nxp-74hc164 \
|
DEVICE_PACKAGES := kmod-spi-gpio kmod-spi-bitbang kmod-gpio-nxp-74hc164 \
|
||||||
ipq-wifi-netgear_wax218
|
ipq-wifi-netgear_wax218
|
||||||
endef
|
endef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user