template.py 866 B

123456789101112131415161718192021222324
  1. pkgname = "u-boot-sifive_unmatched"
  2. pkgver = "2023.01"
  3. pkgrel = 0
  4. archs = ["riscv64"]
  5. build_style = "u_boot"
  6. make_build_args = ["OPENSBI=/usr/lib/opensbi/generic/fw_dynamic.bin"]
  7. hostmakedepends = [
  8. "gmake", "gcc-riscv64-unknown-elf", "flex", "bison", "dtc", "swig",
  9. "opensbi", "python-devel", "openssl-devel", "python-setuptools",
  10. ]
  11. pkgdesc = "U-Boot for HiFive Unmatched boards"
  12. maintainer = "q66 <q66@chimera-linux.org>"
  13. license = "GPL-2.0-only AND BSD-3-Clause"
  14. url = "https://www.denx.de/wiki/U-Boot"
  15. source = f"https://ftp.denx.de/pub/u-boot/u-boot-{pkgver}.tar.bz2"
  16. sha256 = "69423bad380f89a0916636e89e6dcbd2e4512d584308d922d1039d1e4331950f"
  17. env = {
  18. "U_BOOT_TRIPLET": "riscv64-unknown-elf",
  19. "U_BOOT_TARGETS": "spl/u-boot-spl.bin u-boot.itb",
  20. }
  21. hardening = ["!int"]
  22. # not relevant
  23. options = ["!strip", "!check", "!lto", "!debug", "foreignelf"]