define Build/dna-bootfs
- # populate the boot fs with the dtb and with either initramfs kernel or
- # the normal kernel
+ # populate the boot fs with the dtb and the kernel image
-
- $(if $(findstring with-initrd,$(word 1,$(1))),\
- ( \
- ) , \
- ( \
- ) \
- )
# create ubifs
IMAGE_SIZE := 117m
PAGESIZE := 2048
MKUBIFS_OPTS := --min-io-size=$$(PAGESIZE) --leb-size=124KiB --max-leb-cnt=96 \
- --log-lebs=2 --space-fixup --squash-uids
+ --log-lebs=2 --space-fixup --squash-uids
DEVICE_VENDOR := DNA
DEVICE_MODEL := Valokuitu Plus EX400
KERNEL := kernel-bin | lzma | uImage lzma
KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | uImage lzma
IMAGES += factory.bin
IMAGE/factory.bin := append-image-stage initramfs-kernel.bin | \
- dna-bootfs with-initrd | dna-header | \
- append-md5sum-ascii-salted
- IMAGE/sysupgrade.bin := dna-bootfs | sysupgrade-tar kernel=$$$$@ | check-size | \
- append-metadata
+ dna-bootfs | dna-header | append-md5sum-ascii-salted
+ IMAGE/sysupgrade.bin := append-kernel | dna-bootfs | \
+ sysupgrade-tar kernel=$$$$@ | check-size | append-metadata
DEVICE_IMG_NAME = $$(DEVICE_IMG_PREFIX)-$$(2)
DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615-firmware kmod-usb3
endef