template.py 704 B

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