Makefile 480 B

123456789101112131415161718192021222324
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # Copyright (C) 2024 Toco Technologies <[email protected]>
  4. #
  5. include $(TOPDIR)/rules.mk
  6. ARCH:=riscv64
  7. BOARD:=d1
  8. BOARDNAME:=AllWinner D1 RISC-V SoC
  9. FEATURES:=ext4 squashfs usbgadget
  10. KERNELNAME:=Image dtbs
  11. SUBTARGETS:=generic
  12. KERNEL_PATCHVER:=6.12
  13. include $(INCLUDE_DIR)/target.mk
  14. DEFAULT_PACKAGES += e2fsprogs f2fsck mkf2fs
  15. define Target/Description
  16. Build firmware images for Allwinner D1 RISC-V boards
  17. endef
  18. $(eval $(call BuildTarget))