mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-28 02:27:18 +01:00
Add the loop module and mkfs tool to use f2fs/ext4 based overlays. This fixes the following bug: mount_root: unable to create loop device mount_root: no usable overlay filesystem found, using tmpfs overlay Fixes:99545b4bb1("d1: add new target") Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn> (cherry picked from commit1e7950a45d)
24 lines
480 B
Makefile
24 lines
480 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Copyright (C) 2024 Toco Technologies <info@toco.ae>
|
|
#
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
ARCH:=riscv64
|
|
BOARD:=d1
|
|
BOARDNAME:=AllWinner D1 RISC-V SoC
|
|
FEATURES:=ext4 squashfs usbgadget
|
|
KERNELNAME:=Image dtbs
|
|
SUBTARGETS:=generic
|
|
|
|
KERNEL_PATCHVER:=6.12
|
|
|
|
include $(INCLUDE_DIR)/target.mk
|
|
|
|
DEFAULT_PACKAGES += e2fsprogs f2fsck mkf2fs
|
|
|
|
define Target/Description
|
|
Build firmware images for Allwinner D1 RISC-V boards
|
|
endef
|
|
|
|
$(eval $(call BuildTarget))
|